note 39685 added to function.serialize
| From: | info at b1g dot de | Date: | Sat, 07 Feb 2004 15:37:24 +0000 |
| Subject: | note 39685 added to function.serialize | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-64773@lists.php.net to get a copy of this message | ||
If you are using Cache_Lite from pear.php.net and if you are logging in your users using cookies,
use this cache-ID for example:
<?php
$cache_id = base64_encode($_SERVER['REQUEST_URI'] . serialize($_COOKIE));
?>
This will create a new page in cache when a user logs in. Anyway he can't login properly. Works
fine for me.
Sorry for my broken English.
----
Manual Page -- http://www.php.net/manual/en/function.serialize.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+39685
Delete -- http://master.php.net/manage/user-notes.php?action=delete+39685&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+39685&report=yes
Search -- http://master.php.net/manage/user-notes.php