- oh, the agony of a stateless protocol
- What's a cookie?
- cookies allow us to maintain session info
- Client gets a cookie with unique information
- Server keeps a log of cookies and corresponding session data
- Client submits session data with each page request
- When server find a match, it restores it will restore that information into the current request and continue on.
- No cookies? No problem: PHP will automatically create and append a sessionID to each link and form which is then sent over the net.
NEXT
PREVIOUS
Master Index