PHP Classes



Encode and decode sessions values

February 10th, 2007 by Amigura

This is a simple class that can be used to encode and decode session values to make it harder to obtain private session values for people with access to session data.

It uses base64 encoding and mcrypt_encrypt encryption to set the values of one or more session variables values.

The class may also retrieve the value of an encoded session variable and decode it.

It can be easley modified to work with other varibles.

Download script

Posted in PHP Scripts |

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.