RE: [PHP] encrypting session variables
| From: | Chadwick, Russell | Date: | Tue, 10 Jul 2001 01:10:29 +0000 |
| Subject: | RE: [PHP] encrypting session variables | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-57049@lists.php.net to get a copy of this message | ||
$session_id + 1 before passing it, and then
$session_id - 1 before using it on the next screen
... thats the security through obscurity way :)
you could put the session_id in a mysql db and then select
password(session_id)
that would return something really obscure
and then select session_id where password(session_id) = 'd3a8f932b10';
-----Original Message-----
From: Brad Wright [mailto:bradwright@optushome.com.au]
Sent: Monday, July 09, 2001 6:08 PM
To: PHP General List
Subject: [PHP] encrypting session variables
Hi all,
Is there a simple way to encrypt session variables. If so, is there a method
to 'decode' the encrypted session variable when required?.
Thanks in advance,
Brad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net