Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Signout Issue

This is a discussion on Signout Issue within the ASP.NET forums, part of the Web Development category; When i click the logout button it goes to the login.aspx but we click the back button of browser it shows the all the data. How to fix this?...

Go Back   Geeks Talk > Web Development > ASP.NET
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read

ASP.NET ASP.NET and ASP Related Problems

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-09-2009
Junior Member
 
Join Date: Jul 2009
Location: hyderabad
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
srinu.gtt134 is on a distinguished road
Signout Issue

When i click the logout button it goes to the login.aspx but we click the back button of browser it shows the all the data. How to fix this?
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-21-2009
Junior Member
 
Join Date: Jul 2009
Location: kent
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
preetksahota is on a distinguished road
Re: Signout Issue

protected void Button1_Click(object sender, EventArgs e)
{
//this Session.Abandon() method is used for to logout of the system
//response.redirect direct command direct your page to that you want.
//like on this example I am redirecting to my home page.

Session.Abandon();
Response.Redirect("home.aspx");
}
Reply With Quote
  #3 (permalink)  
Old 08-01-2009
Contributing Member
 
Join Date: Sep 2007
Location: India
Posts: 34
Thanks: 16
Thanked 5 Times in 1 Post
Golda is on a distinguished road
Re: Signout Issue

Try this script in logout page

<script>
window.history.forward(1)
</script>
Reply With Quote
Reply

  Geeks Talk > Web Development > ASP.NET

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Hi all, i have an issue :(( Bubus LoadRunner 2 11-18-2008 06:50 AM
Issue nageshkota SQL Server 5 09-09-2008 04:52 AM
database issue deevali Oracle 1 07-03-2008 04:47 AM
Testing issue sakshi_2801 Testing Issues 3 01-21-2008 02:33 AM
ADF table issue.. psuresh1982 Oracle 1 07-19-2007 04:04 AM


All times are GMT -4. The time now is 02:46 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved