-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: Raman82
Message 1 in Discussion
hi all
In my application if i click the logout hyperlink am redirecting my page to
login.Using query sting,
am cleaing the session.It is in the page load of login page.For ur reference i pasted
my code here.
if (Request.QueryString.GetValues("page") != null)
{
if (Request.QueryString.GetValues("page")[0].Equals("Logout"))
{
Session.Abandon();
}
}
my problem is,for example i login as admin first time.my all the web forms are working
perfectly.i logged out.
again am login as admin or some other.If am clicking any hyperlink in my form or for
the first post back the session is expiring unexpectedly and again am getting the
login page.after login again all the things are working nicely.i dont know why that
session is expiring for first postback after login.
am implementing the cache clearing code in every page's pageload.
//Response.Cache.SetCacheability(HttpCacheability.NoCache);
if u are not understanding the problem please tell me how to implement login/logout
thanx
muthu
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you received
this message by mistake, please click the "Remove" link below. On the pre-addressed
e-mail message that opens, simply click "Send". Your e-mail address will be deleted
from this group's mailing list.
mailto:[EMAIL PROTECTED]