Hi,
I have a multi page form, and I want to make sure that if a user goes back that they don't lose anything.
I have the below code at the very top of the first page:
This doesn't seem to work if you go back from the second page.
Now I have checked my php.ini file and I have the following:
If I set this to "private", it seems to work OK.
I just want to know if there are any problems or security issues I should worry about if I do this.
Or if anyone can think of why the runtime command is not working (I had it working on my old server), that would be great.
Thanks
Aaron
I have a multi page form, and I want to make sure that if a user goes back that they don't lose anything.
I have the below code at the very top of the first page:
Code:
session_start();
header("Cache-control: private");
This doesn't seem to work if you go back from the second page.
Now I have checked my php.ini file and I have the following:
Code:
session.cache_limiter = nocache
If I set this to "private", it seems to work OK.
I just want to know if there are any problems or security issues I should worry about if I do this.
Or if anyone can think of why the runtime command is not working (I had it working on my old server), that would be great.
Thanks
Aaron