What Determines the Default Page (And How to Change)?
- From: "Jonathan Wood" <jwood@xxxxxxxxxxxxxxxx>
- Date: Sat, 10 Nov 2007 17:04:17 -0700
My site requires all users to log on. Depending on the user's role, they will have access to a certain set of pages.
I implemented this by redirecting the user to the appropriate home page in the handler for the LoggedIn event of the Login control.
The problem is that users don't always go through the Login control. For example, if I check the Remember Me box and then disconnect and then reconnect, I go straight to default.aspx in the root folder withough having to log in again. And so my code doesn't have a chance to redirect the user based on role in this case.
I'm thinking the answer would be to modify the default page depending on the current role, but I'm not sure how to do that. I'm also curious if anyone has any better ideas.
Thanks.
--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com
.
- Follow-Ups:
- Re: What Determines the Default Page (And How to Change)?
- From: Kumaran Sundar
- Re: What Determines the Default Page (And How to Change)?
- From: Mark Fitzpatrick
- Re: What Determines the Default Page (And How to Change)?
- Prev by Date: RE: visual studio 2005
- Next by Date: Re: How to create a SubDomain
- Previous by thread: Female Professional Web Designer Required
- Next by thread: Re: What Determines the Default Page (And How to Change)?
- Index(es):