Untitled

mail@pastecode.io avatar
unknown
plain_text
16 days ago
638 B
1
Indexable
Never
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");
}

Leave a Comment