Author: jyest1978 | Posted on: 10/13/2009 9:20:12 AM | Views : 346

 Hi
First of all following is my setting for session
<sessionState mode="InProc" cookieless="false" timeout="20"/>
 
And this is setting for form authentication
<authentication mode="Forms"> <forms name=".ASPXAUTH" loginUrl="Page/user/login.aspx" defaultUrl="default.aspx" protection="All" timeout="20" path="/" requireSSL="false"/> </authentication>
 
Basically, I use membership provider and use 'form' authentication mode to control access(e.g. Page A and B).
Also, I store some user information (such as user ID etc) into session when users log in, and in some pages (e.g. Page B) I need to check session("userID") in page_load event, if the session is ...

Go to the complete details ...