473,386 Members | 1,715 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Netscape caching my asp.net pages...

I have a webform (FormA) with confidential info on it. FormA has a user
control that features a logout routine:
Session.abandon
Redirect to a logon form

FormA has the page directive:
<%@ OutputCache Location="None"%>
and code in its load event handler that redirects to the logon form if
the length of an assigned session user id is 0 (just tried
isnothing(session(userid)) and that didn't work...)

In NS, if the user visits FormA, log outs, and then in the logon form
selects the browser's a FormA is displayed.

In IE, I get the desired result following the same steps: the user is
redirected, as s/he should be, to the logon form.

How can I get NS to stop caching? I am using NS 8 and IE 6.

Thank you.

A.

Nov 23 '05 #1
3 1292
You might try a couple other headers to see what NS is supporting. Try
this: http://aspalliance.com/694

<JJ****@hotmail.com> wrote in message
news:11*********************@g14g2000cwa.googlegro ups.com...
I have a webform (FormA) with confidential info on it. FormA has a user
control that features a logout routine:
Session.abandon
Redirect to a logon form

FormA has the page directive:
<%@ OutputCache Location="None"%>
and code in its load event handler that redirects to the logon form if
the length of an assigned session user id is 0 (just tried
isnothing(session(userid)) and that didn't work...)

In NS, if the user visits FormA, log outs, and then in the logon form
selects the browser's a FormA is displayed.

In IE, I get the desired result following the same steps: the user is
redirected, as s/he should be, to the logon form.

How can I get NS to stop caching? I am using NS 8 and IE 6.

Thank you.

A.

Nov 23 '05 #2
Thanks much! That looks like the the ticket!
Jules

Nov 25 '05 #3
Richard Dudley wrote:
You might try a couple other headers to see what NS is supporting.
Try this: http://aspalliance.com/694


Note that this isn't the full story and the article is wrong about
Cache-Control: no-store. This is the most restrictive header by far.

Cheers,
--
http://www.joergjooss.de
mailto:ne********@joergjooss.de
Nov 25 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Scott | last post by:
Hello All, I've been reading all of the various issues with Iframes in netscape. I have tried all of the various fixes posted, and have even implemented both an iframe and ilayer. My problem is...
4
by: Captain Chaos | last post by:
Is it Possible to Cache Pictures JPG/BMP on the Client Browser ? The other Elements of the Page should not being cached because they change. Is it possible to cache parts of a page on the...
0
by: Troy Simpson | last post by:
Hi, I have a website which is made up of dynamic pages. Each page that's loaded has some code which looks at which template to load amongst other things, which causes the page to take a little...
8
by: Nick Gilbert | last post by:
Hi, Our development web server (Win 2003 Server) seems to be caching the output of various files (CSS and .aspx files) if they have no query string. The moment you put a question mark in the...
13
by: tshad | last post by:
How do we handle Caching in IE? It seems that my system works fine in Mozilla and Netscape when I make changes. But in IE the changes are not brought across when someone has been to the site...
0
by: JJ_377 | last post by:
I have a webform (FormA) with confidential info on it. FormA has a user control that features a logout routine: Session.abandon Redirect to a logon form FormA has the page directive: <%@...
0
by: Raj | last post by:
What is the purpose of file system caching while creating a tablespace? Memory on the test server gets used up pretty quickly after a user executes a complex query(database is already activated),...
5
by: Raj | last post by:
What is the purpose of file system caching while creating a tablespace? Memory on the test server gets used up pretty quickly after a user executes a complex query(database is already activated),...
3
by: Purti Malhotra | last post by:
Hi All, In our Web hosting environment we are using Virtual hosting i.e. multiple websites are on one server and multiple domains are pointing to a single website. Issue: We have two domains...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.