Home All Groups Group Topic Archive Search About

problem with refresh page on back button

Author
7 Oct 2006 5:15 AM
Nishu
Dear

Actually i m facing a problem with my application .In my 1st page there
is some dropdown menu in values are coming from javascript.i have made
a option to choose taht field n when user will click on button
according to selected field he will get the result on next page. now if
he wants to go back to choose another field he clicks on back button of
I.Explorer.but he gets the previous selected valuese so he has to
refresh

   I want to refresh previous page on the click of back button.pls give
me better solution

Thanx
Nishu

Author
7 Oct 2006 2:10 PM
Gaurav Vaish (www.EdujiniOnline.com)
>   I want to refresh previous page on the click of back button.pls give
> me better solution

Set the Cache-Control to none.


And if the browser does not recognize it (say, if the user has selected
"Never" option in IE settings for "Check for new pages"), there's nothing
you can do.

It's about what browser keeps in history rather than what you send.


--
Happy Hacking,
Gaurav Vaish | www.mastergaurav.com
www.edujinionline.com
http://eduzine.edujinionline.com
-----------------------------------------
Author
12 Oct 2006 6:06 AM
Nishu
thanx 4 ur reply.but i m new in this field actually i hv some select
box in form 7 when user select any item it will redirexct to another
page  according to selected value.now when user will go back form is
showing previous selected values n i want to show him refresh page.pls
give me better solution.i m working in asp.net & IE

Thnx
Nishu Mahendra
Gaurav Vaish (www.EdujiniOnline.com) wrote:
Show quoteHide quote
> >   I want to refresh previous page on the click of back button.pls give
> > me better solution
>
> Set the Cache-Control to none.
>
>
> And if the browser does not recognize it (say, if the user has selected
> "Never" option in IE settings for "Check for new pages"), there's nothing
> you can do.
>
> It's about what browser keeps in history rather than what you send.
>
>
> --
> Happy Hacking,
> Gaurav Vaish | www.mastergaurav.com
> www.edujinionline.com
> http://eduzine.edujinionline.com
> -----------------------------------------