footiefan
10-14-2010, 09:15 PM
Evening everyone.
I have a script in one of my asp pages that sends to homepage a specific user.
This is the code:
<%if Request.Cookies("username")="xxxxx" then
Response.Write("<script>window.open('index.html','_top');</script>")
end if%>
This always worked fine, but something tells me that a user with a mobile phone was able to access this page, even if he shouldn't.
Do you think this coding could be not working with a mobile browser, and if so, how I could rewrite (or add a new part) to include mobiles too?
Thanks to all willing to help.
I have a script in one of my asp pages that sends to homepage a specific user.
This is the code:
<%if Request.Cookies("username")="xxxxx" then
Response.Write("<script>window.open('index.html','_top');</script>")
end if%>
This always worked fine, but something tells me that a user with a mobile phone was able to access this page, even if he shouldn't.
Do you think this coding could be not working with a mobile browser, and if so, how I could rewrite (or add a new part) to include mobiles too?
Thanks to all willing to help.