hi
i building a login page and i wana do cookies on it, which i wil be able to retrieve in the mainmenu page.
on the first frame of my login page i put
user = SharedObject.getLocal(“user_profile”);
if (go == “true”) { //login successful
user.data.login = “xuserid” ;
// xuserid is a userid i pass from a asp page
user.flush();
getURL("mainmenu.html", "_self");
}
if (go == “false”) { //login unsuccessful
gotoAndStop(“error”);
}
=====================================
is this correct?
and then on the mainmenu.html page , i put on the first frame
===================================
user = SharedObject.getLocal("user_profile");
currentuserID = user.data.login;
===================================
is this correct?
because i cant seen to get the cookie working… can someone help me please. thanx