Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Response.Expires=0
strCookie = Request.Cookies("COOKIE")
strTry = Request.QueryString("Try")
If IsNull(strCookie) OR ( Len(strCookie) = 0) Then
' Check to see if this is a redirect after the cookie
' has been set
If IsNull(strTry) OR (Len(strTry) = 0) Then
Response.Cookies("COOKIE") = "Set"
' Redirect to this page and try again.
Response.Redirect("cookie.asp?Try=Yes")
Else
' User/Browser didn't accept cookies
' Do something...
Response.Redirect("bad.asp")
End If
End If