Hello guys,
I have a weird problem, I'm using some session variables that i declare in
the head of a php page to authenticate the user, in this page i display a
form with some textboxes and listboxes that the logged user should fill by
hand and then submit it to save the data inside a database. after
submitting the form, if i go back to the form using the back button i see
that the form is reset!!!!
i was told that this has to do with the session setting.
session.cache_limiter = nocache
but the problem is that if i put "session.cache_limiter=private or public"
the form will not reset but it will still be holding the values that the
user had filled even if i refreshed the page from the browser, and even
the session variable will always have the same value even if this value
has changed. and the pages will stay in the cache of the browser for a
very long time, even if the page has changed on the server.
I hope that i gave u a clear idea of my problem.
Thanks in advance.
Regards,
Nabil