Click here to Skip to main content
15,895,011 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: AutoRedirect... Pin
Not Active19-Feb-10 5:25
mentorNot Active19-Feb-10 5:25 
GeneralRe: AutoRedirect... Pin
R. Giskard Reventlov19-Feb-10 5:32
R. Giskard Reventlov19-Feb-10 5:32 
GeneralRe: AutoRedirect... Pin
Not Active19-Feb-10 5:35
mentorNot Active19-Feb-10 5:35 
GeneralRe: AutoRedirect... Pin
R. Giskard Reventlov19-Feb-10 6:47
R. Giskard Reventlov19-Feb-10 6:47 
GeneralRe: AutoRedirect... Pin
Not Active19-Feb-10 7:12
mentorNot Active19-Feb-10 7:12 
GeneralRe: AutoRedirect... Pin
R. Giskard Reventlov19-Feb-10 7:18
R. Giskard Reventlov19-Feb-10 7:18 
GeneralRe: AutoRedirect... Pin
Oakman20-Feb-10 2:43
Oakman20-Feb-10 2:43 
GeneralRe: AutoRedirect... Pin
R. Giskard Reventlov19-Feb-10 5:00
R. Giskard Reventlov19-Feb-10 5:00 
If everything you do is custom then I might use Attributes to decorate the master page, if you have one, or every page other than the login page if you don't that just does:
1: Is this user logged in? (Could be accomplished by populating a session variable upon successful login).
2: Yes: allow access to any page. (You could also have stored the selected page in a session variable).
3: No: redirect to login.

Attributes are fairly simple to create so you can look that bit up: I'm sure there are plenty of articles on CP that will help.

I'm also sure there are other ways to do this and perhaps someone else can offer further suggestions.
Tychotics: take us back to the moon

"Life, for ever dying to be born afresh, for ever young and eager, will presently stand upon this earth as upon a footstool, and stretch out its realm amidst the stars."
H. G. Wells

GeneralRe: AutoRedirect... Pin
awedaonline19-Feb-10 5:03
awedaonline19-Feb-10 5:03 
GeneralRe: AutoRedirect... Pin
awedaonline19-Feb-10 5:12
awedaonline19-Feb-10 5:12 
GeneralRe: AutoRedirect... Pin
R. Giskard Reventlov19-Feb-10 5:31
R. Giskard Reventlov19-Feb-10 5:31 
GeneralRe: AutoRedirect... Pin
awedaonline19-Feb-10 7:11
awedaonline19-Feb-10 7:11 
GeneralRe: AutoRedirect... Pin
R. Giskard Reventlov19-Feb-10 7:20
R. Giskard Reventlov19-Feb-10 7:20 
GeneralRe: AutoRedirect... Pin
Not Active19-Feb-10 7:26
mentorNot Active19-Feb-10 7:26 
AnswerRe: AutoRedirect... Pin
Rutvik Dave19-Feb-10 7:53
professionalRutvik Dave19-Feb-10 7:53 
GeneralRe: AutoRedirect... Pin
Brij19-Feb-10 8:19
mentorBrij19-Feb-10 8:19 
GeneralRe: AutoRedirect... Pin
awedaonline3-Mar-10 23:18
awedaonline3-Mar-10 23:18 
AnswerRe: AutoRedirect... Pin
JimBob SquarePants19-Feb-10 12:23
JimBob SquarePants19-Feb-10 12:23 
GeneralRe: AutoRedirect... Pin
awedaonline3-Mar-10 23:17
awedaonline3-Mar-10 23:17 
QuestionAccessing WebUserControls and Webform properties Pin
markymark8219-Feb-10 0:18
markymark8219-Feb-10 0:18 
AnswerRe: Accessing WebUserControls and Webform properties Pin
Chetan Patel19-Feb-10 1:32
Chetan Patel19-Feb-10 1:32 
Questionconnection to sqlservercompactedition Pin
4anusha419-Feb-10 0:13
4anusha419-Feb-10 0:13 
QuestionDrop Down Weird behaviour Pin
Mogamboo_Khush_Hua18-Feb-10 23:44
Mogamboo_Khush_Hua18-Feb-10 23:44 
AnswerRe: Drop Down Weird behaviour Pin
R. Giskard Reventlov19-Feb-10 0:37
R. Giskard Reventlov19-Feb-10 0:37 
QuestionDatalist in Crystal Report Pin
srikanta42218-Feb-10 23:37
srikanta42218-Feb-10 23:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.