GET / HTTP/1.1

Syndicate content GET / HTTP/1.1
Anything to develop, developed, ideas for , to and by the Web
Updated: 4 hours 13 min ago

How PHP sessions work

6 October 2009 - 9:56am

Most of the developers know how to work with PHP Sessions, but don’t know or don’t care to understand how PHP manages to make sessions work.

HTTP is a stateless protocol, due to which its is unable to understand subsequent requests from the same user/client. It considers all requests as “NEW”. So to manage this ’state’, Sessions and cookies come into the picture.

Please read more over here How Sessions work in PHP

Categories: Technology