$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:[EMAIL PROTECTED]]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]