PHP Session class with encrypted cookies

/ Published in: PHP
Save to your folder(s)

I’ve made this class that can use normal session variables, or cookies. This class can use cookies in two ways: store a single variable in each cookie, or pack many variables, encrypt, and store them into cookies.

Now I always use this class when I have to use session/cookies and when I know that I have not to put too many bytes in cookies (since cookie size is limited).


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.