Hi All,
I'm trying to prevent the Warning page has expired message from showing on my pages every time I go back to a page that submitted form information.
This can be done by setting the value of the variable
session.cache_limiter = none
in the php.ini file.
However,
I do not wish to set this variable across all the programs I have running so I would rather do it in code as and when I require it.
The line of code below:
ini_set("session.cache_limiter", "none");
sets the value of the session.cache_limiter to none (this can be checked using ini_get("session.cache_limiter))
However, this does not have the same effect as setting the variable in the php.ini file i.e. The warning page has expired message STILL shows up all the time.
Anybody have any ideas why this is so.
Or, does anybody have an alternative solution to the problem of the Warning page has expired message (Other than using a GET rather than a POST in the form)
Any help appreciated,
Regards,
Brian.