Click to See Complete Forum and Search --> : ASP Error


Full Moon
04-16-2007, 05:30 AM
Hi everybody I am a new member and I am facing a problem in ASP
I wrote this if statement
if (String (Session ("MM_UserAuthorization"))=="Administrator");
{
(Response.Redirect("Admin.asp"))
}
else
{
(Response.Redirect("User.asp"));
}

And it gave this error when run it

Plzzzzzzzz help me

gil davis
04-16-2007, 06:56 AM
Are you using VBScript or JavaScript? "==" is javascript.

Full Moon
04-17-2007, 12:06 AM
Thank you gil davis for trying to help me
i am using JavaScript. Actually I solved the problem, but thank you again:)