-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: Raman82
Message 1 in Discussion
In my project,i have one problem regarding logout.
when am clicking a logout link am redirecting the page to login and am using the
following codes
//This code in page load
Response.Cache.SetCacheability(HttpCacheability.NoCache)
if (Request.QueryString.GetValues("page") != null)
{
if (Request.QueryString.GetValues("page")[0].Equals("Logout"))
{
Session.Abandon();
}
}
i implemented the cache clearing code in every form's page load.
Response.Cache.SetCacheability(HttpCacheability.NoCache)
When am login as some user,first time the forms are working fine.i click a logout,the
session is cleared.again am login as user and click any link on my form session
suddenly expired and redirecting to the login page.Now am login again,the links and
the forms are working fine.Only for that first postback after login, its throwing the
error.
please tell me what's wrong in that code or give me alternate solution.
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]