Caching pages with embedded session_id
| From: | Tom Beddard | Date: | Sun, 22 Dec 2002 11:57:31 +0000 |
| Subject: | Caching pages with embedded session_id | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-6929@lists.php.net to get a copy of this message | ||
I have a site that i want to enable smarty caching, however when a user
doesn't have their cookies enabled then the session id, ?SID=#, is appended
to the links within the template. However if the cached templates are
created from the templates with the embedded SID then you have a security
problem as the users session could be passed to someone else - not something
you want with an online shop!
How do other smarty users get around this problem? Is there a way session
ids can be inserted dynamically into cached page urls?
Tom