Lock browser url / address bar

Is there a way to lock the url so that a user cannot navigate out of the web application until they logout?
Who is Participating?
gjutrasConnect With a Mentor Commented:
it's dependent of javscript.  On firefox they can disable altering of address bar, so it's possible to block these attempts.  But for most, you can do an window.open() to do a popup to your site and as part of that open you can make all the controls go away for this new window.  They can still close the window, but you give them a pretty tight view that way.
search for onclick="window.open( and you'll be able to get the syntax for all the parameters you want to turn off.
craskinConnect With a Mentor Commented:
Dim ie
Set ie=createobject("internetexplorer.application")
With ie
    .navigate "about:blank"
    Do Until .readyState=4
     WScript.Sleep 10
    .navigate "http://myapplication"
End With
akobes05Author Commented:
Only problem I have is that I am using the login control so it automatically displays the web page.  I just though there might be a way to reference the browser from the ASPX's page load event or ssomething.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.