stevepatd Posted August 23, 2008 Share Posted August 23, 2008 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 Quote Link to comment Share on other sites More sharing options...
marcus Posted August 23, 2008 Share Posted August 23, 2008 I say you just open the registration pay in a new window, like a pop-up and when the form is done processing use window.close() Quote Link to comment Share on other sites More sharing options...
tpimental Posted August 23, 2008 Share Posted August 23, 2008 This isn't very clean either, but you could auto-refresh the form page every time it loads with either JavaScript or PHP. That would ensure the fields were empty. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.