Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 3.5 > ASP.NET 3.5 Basics
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
ASP.NET 3.5 Basics If you are new to ASP or ASP.NET programming with version 3.5, this is the forum to begin asking questions. Please also see the Visual Web Developer 2008 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 3.5 Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 20th, 2008, 06:20 AM
Authorized User
 
Join Date: Jun 2008
Location: p, g, Malaysia.
Posts: 17
Thanks: 1
Thanked 0 Times in 0 Posts
Default logout problem

after logout , then redirect to login page... when click IE browser back button it show the content ... it suppose cannot display... i know the problem is with the cache in browser... how to solve it...

  #2 (permalink)  
Old July 21st, 2008, 09:07 AM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Set your pages to not use caching. Then any request for a page (even the Back button) will force a request to the server. Once logged out, any request will revert to the login page.

-Peter
compiledthoughts.com
  #3 (permalink)  
Old July 22nd, 2008, 07:15 AM
Authorized User
 
Join Date: Jun 2008
Location: p, g, Malaysia.
Posts: 17
Thanks: 1
Thanked 0 Times in 0 Posts
Default

how to set page not use cache...? I try response.cache, it work.It redirect to login page when press IE Browser back button. But when i search and display search result, then i go to other page. When i press back to search result page, then it show IE browser error page/not found page.IT happen there no cache when i not logout. SO How to set not use cache in page properly?

  #4 (permalink)  
Old July 22nd, 2008, 08:32 AM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Please google for that answer, or search this forum. That question has been answered many times on here.

-Peter
compiledthoughts.com
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Logout problem dayaananthanm ASP.NET 2.0 Professional 2 December 7th, 2006 04:57 AM
Logout Problem birari Classic ASP Basics 7 September 1st, 2006 12:22 AM
Logout problem xylo ASP.NET 2.0 Basics 1 July 8th, 2005 05:44 AM
login logout problem... sunmeet122 Classic ASP Professional 2 April 15th, 2004 09:47 PM



All times are GMT -4. The time now is 10:51 AM.


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