Wrox Programmer Forums
|
Visual Web Developer 2005 Discuss creating ASP.NET 2.0 sites with Microsoft's Visual Web Developer 2005. If your question is more specific to a piece of code than the Visual tool, see the ASP.NEt 2.0 forums instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Web Developer 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 22nd, 2010, 07:44 AM
Authorized User
Points: 410, Level: 7
Points: 410, Level: 7 Points: 410, Level: 7 Points: 410, Level: 7
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2009
Posts: 72
Thanks: 17
Thanked 0 Times in 0 Posts
Question Login Logout Issue

Hi,

I have made a Admin Panel which is related with Resume Data handling.

1st Page is the Login page where I set a Session Variable = 1, which denotes User has Logged in.

And on Every Page of my panel, On Log out button event I set this Session Variable = 0.
And also on every Page of my panel, on page load event i check for this session variable, if it is equal to 0(Zero), then i redirect the user to index page(Where User has to enter Login Details).

Now all is working fine in Mozilla, Chrome. But in IE 8, I am getting problem.

And the problem is that if I Logout from some page. Say for e.g. I log out from the following Search page :-

http://localhost:1153/MySite_22June2...in/Search.aspx

then the index page come, which is alright but if i copy paste this URL Or if I click Back Button on IE 8 Browser it still shows me the above Search Page(which is cached by IE). And further if i click on any link on my Search page, then page is redirected to index page.

How to solve this problem?

Pls Help.

Thank You....!!

"Peace Comes from Within, Don't seek it Without"
-Anup
 
Old June 23rd, 2010, 02:54 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

It's a caching issue where the browser keeps a local copy of the page.

You may find more useful information here: http://www.google.com/#hl=en&source=...revent+caching

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple Login Logout Apocolypse2005 PHP Databases 1 September 25th, 2008 01:17 AM
How to give login logout Facility cbpanchal VB How-To 2 July 28th, 2004 06:42 AM
login logout problem... sunmeet122 Classic ASP Professional 2 April 15th, 2004 09:47 PM
Login/Logout user tracking shmoel BOOK: Beginning ASP 3.0 0 December 9th, 2003 05:40 PM
login logout... sunmeet122 Classic ASP Basics 2 December 5th, 2003 11:39 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.