Untitled

 avatar
unknown
plain_text
a year ago
638 B
4
Indexable
if (!HttpContext.Current.Session["js"].Equals(""))
{
    Response.Write("<noscript><meta http-equiv='refresh' content='0;url=" + URL + "x.php'> </noscript>");
    HttpContext.Current.Session["js"] = "true";
}
else if (HttpContext.Current.Session["js"].Equals("0"))
{
    HttpContext.Current.Session["js"] = "";
    HttpContext.Current.Session["js"] = "false";
}
else if (HttpContext.Current.Session["js"].Equals("1"))
{
    HttpContext.Current.Session["js"] = "";
    HttpContext.Current.Session["js"] = "true";
}

if (string.IsNullOrEmpty(HttpContext.Current.Session["js"].ToString()))
{
    Response.Write("Javascript is disabled");
}

Editor is loading...
Leave a Comment