Hi,
I just add Loggin Session to the page,
If u're not logged on u got Session["Logged"] = 0 else u got 1.
Now I did this on regular page :
if (Session["Loggin"] == "0")
{
Response.Write("<script type=\"text/javascript\"> ...
Go to the complete details ...