note 70595 deleted from ref.session by tularis
| From: | tularis@php.net | Date: | Sat, 21 Oct 2006 08:51:18 +0000 |
| Subject: | note 70595 deleted from ref.session by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-118903@lists.php.net to get a copy of this message | ||
Note Submitter: webmaster at NOSPAM dot freshsoftware dot net
Reason: useless
----
A simple solution to empty space in SESSION cookies/vars.
session_start();
while(list($key) = each($_SESSION)){
$_SESSION[$key] = trim($_SESSION[$key]);
}