SharedObject help ! pls

hi.

i am testing out the MX’s SharedObject on my login page with the help of the kirupa tutorial.

ok on my first frame which is the login screen, i put

if (go == “true”) {
getURL(“mainmenu.html”, “_self”);
user = SharedObject.getLocal(“user_profile”);
user.data.name = LGlogin;
user.flush();

}

the ‘go ==“true”’ means when the login is successful.

am i wrong? because the browser keep reloading the mainmenu.html when the login is successful.

pls help. thanx . becasue i need it to do a project. thanx in advance:)