How to encrypt session id in cookie?

Posted by terrani on Stack Overflow See other posts from Stack Overflow or by terrani
Published on 2010-04-11T00:13:18Z Indexed on 2010/04/11 0:23 UTC
Read the original article Hit count: 646

Filed under:
|

While I was reading about session hijacking articles, i learned that it would be nice to encrypt session id value that is stored in a cookie.

As far as I know, when I start a session by calling session_start(), PHP does not encrypt session id value in a cookie.

How do I encrypt session id value and then initialize session with it?

© Stack Overflow or respective owner

Related posts about php

Related posts about session-hijacking