I want to validate that a user's session has not timed out OR that a user
has logged in succesfully ( by checking Session info ) before the user's
request is processed, and redirect the user to the login page if necessary.
At the same time, if the user is logged in, I want to put some of the user's
info in the CallContext so that it can be used throughtout the call in other
assemblies.

At what point can I do this? it seems that Session is not available
in Application_beginRequest. I tried making a ASPX page base class and
handling in Page_Load, but other events can fire before that ( i.e.
mycontrol_init ) leaving me stranded without my user info.

any suggestions?

(I'd like to keep this code out of ASPX pages)






_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to