Using 2 login pages, how?

  • Thread starter Thread starter DotNetNewbie
  • Start date Start date
D

DotNetNewbie

Hi,

I have a website that I need to have 2 login pages for, is this
possible without creating another virtual web application and having 2
web.config files?

My website has a forum and a ecommerce application.

So: www.example.com/store/ and www.example.com/forum/

I want there to be 1 registration page, but 2 login pages.
 
Why two logins? I am not sure I see that, as you can restrict a user via
roles. You simply add a user to either the store or the forum role (or both)
and then you use security trimmings on the site map provider to not show
what he does not have access to.

For example. User goes to store and creates account. Now, user wants to go
to forum. You show him the info but do not allow him to use the post links
or pages unless he asks for access. You can then add that role to his
account.

With the ASP.NET Membership bits, it is extremely easy to add roles to an
existing account.

Perhaps I am way off base here? If so, post why you need two logins.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:
http://gregorybeamer.spaces.live.com/

*************************************************
| Think outside the box!
|
*************************************************
 
Why two logins? I am not sure I see that, as you can restrict a user via
roles. You simply add a user to either the store or the forum role (or both)
and then you use security trimmings on the site map provider to not show
what he does not have access to.

For example. User goes to store and creates account. Now, user wants to go
to forum. You show him the info but do not allow him to use the post links
or pages unless he asks for access. You can then add that role to his
account.

With the ASP.NET Membership bits, it is extremely easy to add roles to an
existing account.

Perhaps I am way off base here? If so, post why you need two logins.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my bloghttp://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:http://gregorybeamer.spaces.live.com/

*************************************************
| Think outside the box!
|

No you are not off base, that is a good idea since I am using roles
now anyhow!

The only *problem* with this is that I will be forcing the user to
create a Username even though they are just using the ecommerce part
of the site (not really THAT big of a deal).....people are just not
used to that.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top