Forum Moderators: coopster

Message Too Old, No Replies

Problem with forms

Warning: Page has Expired

         

DaSingh

3:13 pm on Jul 28, 2005 (gmt 0)

10+ Year Member



I have a lot of forms on the site I'm working on and basically I get this error if I click 'back' in my web browser.

Is there anyway I can set some sort of cache or something so that I wont have to keep refreshing the page?

Thanks

jatar_k

3:39 pm on Jul 28, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



if you posted info to the page you are going back to then the browser will always do that.

you could use sessions to store the data and then the page coould check for that info onload but I bet the browser will still ask you if yoou want to repost the data.

DaSingh

9:54 am on Jul 29, 2005 (gmt 0)

10+ Year Member



Shame

Just wanted to have a back up because alot of users click back rather than using the proper links that are on the page

Thanks anyway

jatar_k

4:23 pm on Jul 29, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



it really depends on what you are wanting to acheive.

do you want to stop double posting?
are they getting a confirm page which is doing it?
is it the original form they are going back to? if so, does the form self post?

there are options maybe but I don't really know the flow so I can't suggest anything.