php - How to simply generate unique key only for current session? -
is there way generate 1 unique key , save cookie current session until browser close?
$key = uniqid(mt_rand());
session_id unique id, try
$key = session_id(); is there way generate 1 unique key , save cookie current session until browser close?
$key = uniqid(mt_rand());
session_id unique id, try
$key = session_id();
Comments
Post a Comment