i have blurred information bout the use of cookies and session , please help:
- i get cookies like this:
ivr y piczo.com/ 1024286543052830124157358270563229796008*----
ivr is the cookie name, y is the value,piczo.com/ is the site which sent the cookie and the number is expired time, right?
2.
session_id is to generate an random id, right? but why use it, why don't we use our session, (e.g when a user login, instead using session_id as identifier for that user, we rather define like session['user']='username' ) it has the same function,right ?
3.
What are relations between cookies and session ?
please, give me explanation for each my question above...
i really want to understand bout these two ...
any opinions will also shed the light.. thank you