J
Jeyakumar
Hi,
I am using following code to avoid security warning when switch from
pageA(https) to PageB (http).
'Output a redirector for the needed page to avoid a security warning.
Response.Clear()
'Add a refresh header to the response for the new path.
Response.AddHeader("Refresh", "0;URL=PageB.aspx")
' Also, add JavaScript to replace the current location as backup.
Response.Write("<html><head><title></title>")
Response.Write("<!-- <script
language=""javascript"">window.location.replace(""")
Response.Write("PageB.aspx")
Response.Write(""")</script> -->")
Response.Write("</head><body></body></html>")
Response.End()
Working fine for most users. But some users say they do see only a blank
page.
Any idea what is missing above code.
Thanks, J
I am using following code to avoid security warning when switch from
pageA(https) to PageB (http).
'Output a redirector for the needed page to avoid a security warning.
Response.Clear()
'Add a refresh header to the response for the new path.
Response.AddHeader("Refresh", "0;URL=PageB.aspx")
' Also, add JavaScript to replace the current location as backup.
Response.Write("<html><head><title></title>")
Response.Write("<!-- <script
language=""javascript"">window.location.replace(""")
Response.Write("PageB.aspx")
Response.Write(""")</script> -->")
Response.Write("</head><body></body></html>")
Response.End()
Working fine for most users. But some users say they do see only a blank
page.
Any idea what is missing above code.
Thanks, J