i have set the userID and password to cookie but when i want retrieve it, i cant get the value...why?
set cookie:
VB Code:
Session_start(); if (numRow > 0) then $_SESSION["usr"] = username; $_SESSION["pwd"] = pss; 'do stuff } else{ 'do stuff }
Retrieve cookie:
VB Code:
Session_start() $usr = $_SESSION["usr"]; $pss = $_SESSION["pwd"];




Reply With Quote