Jump to content

Closing a browser window


stevepatd

Recommended Posts

I have a web-based school registration program.  One of the schools using it would like to let parents go to the computer lab on registration day and use their computers to register their child.  This program collects some personal information.  When the parent is done I would like to have a secure "log-off" script that prevents the next user from hitting the back key to reveal the previous information.

 

I've explored some javascript that closes a browser but it only works for IE, Safari, and early versions of Firefox.  Newer versions of Firefox purposely don't allow this (unless the page was opened with javascript which I now nothing about).  I don't know javascript, I'd rather do something with php/html if possible.

 

So, any brilliant minds out there have an idea?  I hate taking away the back key feature (if possible) as that really restricts the users.  Can I clear the browsing history so if I take them back to the log-in page and clear the history they have nothing to go back to?

 

How do I make a secure log-off?

 

Thanks,

Steve

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.