<% on error resume next dim strReturnURL strReturnUrl= Request.QueryString("url") Session("gstrUser")="" Session("gstrUserID")="" Session("gstrFname")="" if strReturnUrl="" then Response.Redirect("index.html") else Response.Redirect(strReturnUrl) end if %>