Passing $_SESSION varaible from cached page
-
I have a form on a cached page which sends its $_POST data to another page. This page also defines a $_SESSION variable. The $_POST data makes it fine to the target page, but the $_SESSION variable is not defined. If I turn the cache off, there is no problem. I know I can exclude the first page from the cache entirely, but I would like this page to be included as it contains many cacheable resources.
My question is, should $_SESSION variables defined on a cached page get lost when visiting another page?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Passing $_SESSION varaible from cached page’ is closed to new replies.