Saturday, March 24, 2012

newbie help

Hi all, we plan on implementing a project where we will provide our users a
1 page website. Something like a PWP. What we would like to have it each
user would have their own url e.g. http://users.domain.com/username1,
http://users.domain.com/username2. Now instead of having to setup a new
virtual dir in IIS everytime a new user is to be setup I was wondering if
there is anyway to accomplish this in asp.net without having to build an
ISAPI Filter. Ideally I would really like to have only 1 page called
portal.aspx. If somehow I can have some code that will intercept the call
and pass the username as a querystring parameter to portal.aspx, the rest of
the work will be done by that page. I would greatly appreciate if someone
can point me in the right direction here.

many thanks in advance,
RPthis may be of interest to you, I've never done it, but the beginning example looks to be about what you are trying to accomplish.

http://www.codeproject.com/aspnet/URLRewriter.asp

"RP" <rp@.nospam.com> wrote in message news:O6BNelxTEHA.1472@.TK2MSFTNGP12.phx.gbl...
> Hi all, we plan on implementing a project where we will provide our users a
> 1 page website. Something like a PWP. What we would like to have it each
> user would have their own url e.g. http://users.domain.com/username1,
> http://users.domain.com/username2. Now instead of having to setup a new
> virtual dir in IIS everytime a new user is to be setup I was wondering if
> there is anyway to accomplish this in asp.net without having to build an
> ISAPI Filter. Ideally I would really like to have only 1 page called
> portal.aspx. If somehow I can have some code that will intercept the call
> and pass the username as a querystring parameter to portal.aspx, the rest of
> the work will be done by that page. I would greatly appreciate if someone
> can point me in the right direction here.
>
> many thanks in advance,
> RP
>
Thank you. That is just what I needed.

"Raterus" <raterus@.spam.org> wrote in message
news:uv2OmyxTEHA.1244@.TK2MSFTNGP10.phx.gbl...
this may be of interest to you, I've never done it, but the beginning
example looks to be about what you are trying to accomplish.

http://www.codeproject.com/aspnet/URLRewriter.asp

"RP" <rp@.nospam.com> wrote in message
news:O6BNelxTEHA.1472@.TK2MSFTNGP12.phx.gbl...
> Hi all, we plan on implementing a project where we will provide our users
a
> 1 page website. Something like a PWP. What we would like to have it each
> user would have their own url e.g. http://users.domain.com/username1,
> http://users.domain.com/username2. Now instead of having to setup a new
> virtual dir in IIS everytime a new user is to be setup I was wondering if
> there is anyway to accomplish this in asp.net without having to build an
> ISAPI Filter. Ideally I would really like to have only 1 page called
> portal.aspx. If somehow I can have some code that will intercept the call
> and pass the username as a querystring parameter to portal.aspx, the rest
of
> the work will be done by that page. I would greatly appreciate if someone
> can point me in the right direction here.
> many thanks in advance,
> RP

0 comments:

Post a Comment