PageLoad when BACK is clicked

V

Viktor Popov

Hi everybody,

I would like to ask you if someone knows how to make a page to be loaded
again when th BACK Button of the Browser is clicked. What I mean is:
WebForm1(Load)->click link to
WebForm2->WebForm2(Load)->ClickBACKbuttonOFtheBROWSER->WebForm1(Load)

Thank you in advance!

Best regards,

Viktor
 
S

Scott Allen

Hi Viktor:

It's possible the page is being cached by the browser or even the
server (do you use an @ OutputCache directive?). If your page is
sensitive and you need Page_Load to always excute, you might look at
Response.Cache.SetCacheability to avoid client side and proxy server
caching.
 
V

Viktor Popov

Hi Scott,

Thank you for the reply. I have included <%@ OutputCache Location"None" %>
and it works.

Thank you!

Viktor
 

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

Top