TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
muthukumar
NA
0
101.8k
session problem
Jan 24 2014 1:40 AM
session problem when i click logout it redirect to logout.aspx
but when i click backward button it remain goes to to logout page
how to solve this
this is my code for logut
protected void Page_Load(object sender, EventArgs e)
{
Session.Abandon();
Session.Clear();
HttpContext.Current.Response.Cache.SetCacheability(HttpCacheability.NoCache);
Response.Cache.SetAllowResponseInBrowserHistory(false);
FormsAuthentication.SignOut();
Response.AddHeader("Refresh", Convert.ToString((Session.Timeout * 5) - 120));
Response.Redirect("login.aspx");
}
Reply
Answers (
7
)
offline chat tool in C#
Comparsion