ASPNet 2.0 Cache question

J

Jason Huang

Hi,

In the ASPNet 2.0 web application, the Form1.aspx is set to
HttpCacheability.NoCache,
and the Form2.aspx is also set to HttpCacheability.NoCache.
The Form1 will do the
Response.Redirect("Form2.aspx?CustomerNo=" + strCustomerNo.ToString() );
My question is since both Form1 and Form2 are set to NoCache,
why the Form2 will still receive the "CustomerNo" whenever I hit the Next
from the IE6 menubar?
Isn't it supposed to be nothing?
Thanks for help.


Jason
 
G

Guest

The back and Foward Button in the IE picks teh page from the browser Histroy.
SO If you want to clear the page when you move to and fro using the Back and
Forward button then you need to clear the Browser History.

Regards,
Manish
 
G

Guest

The back and forward button in the browser brings the page from the browser
History. So If you want to clear the page when moving to and fro from back
and forward button then you would need to clear the History of the browser.

Regards,
Manish
 
B

bruce barker

not caching means the browser must request the page again if request fom
history. it does not change the url, so of course form2 sees it.


-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,705
Latest member
Stefkari24

Latest Threads

Top