Sr. Web Developer
mediabistro.com
US-NY-New York

Justtechjobs.com Post A Job | Post A Resume

Comments for: meyers20041216

Message # 1033911:
Date: 12/14/05 09:11
By: Rajvir
Subject: clear cache help

I have made one application in which i want that ones user logout, if any one hit back button then he/she can not getting cached page.
i have used code like this:-

Session.Clear()
Session.Abandon()
Response.Cache.SetCacheability(HttpCacheability.NoCache)
Response.Cache.SetNoStore()
Response.Cache.SetExpires(DateTime.MinValue)
Response.Cache.SetExpires(DateTime.Now.AddDays(-2))
Response.Cache.SetCacheability(HttpCacheability.NoCache)
Response.ExpiresAbsolute = DateTime.Now.AddDays(-2)
Response.Expires = -1500
Response.CacheControl = "no-cache"

here i got sucess in IE but in Mozilla i can not throgh this code.

Previous Message | Next Message


Comments:
clear cache helpRajvir12/14/05 09:11
RE: Php for beginnersMamta10/19/05 01:14
bad way to load moduleAikanaro03/12/05 04:21
Php for beginnersJay03/04/05 08:50
PHP linksAMV Amiel Agulo01/31/05 20:58
Examples Sunny12/16/04 20:23
 

If you are looking for help, please post on the appropriate forum here. Your questions will be answered much more quickly.

Add A Comment:

Name:

Email:

Subject:

Message:

To reduce spam posts, messages are now manually approved

You are not [logged in]. That means your account will not get credit for this post.