Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Previous Page 1

Status
Not open for further replies.

sleuth

Programmer
Jan 12, 2001
134
US

How could I keep someone from going back to the previous page, it's a login page, and when they login if they go back to the login page, they can't go forward because it's in fullscreen mode, I force them to use the logout button to leave this way, and so far all is good with everything else, except that one thing, if you go back, you have to type in your info again to go forward, but since I have session Id's, you get an error as trying to login as someone already in the system. So obviously I have to find some way to keep them from going back to that page.

Any Ideas?

Thanks,

Tony

PS. Is there anything I can maybe put in the header of the login page so that when you leave the page it is taken out of the history, I'd preffer to take care of the going back prob right after you leave the login page, to prevent having to make too many changes on the next page. But whatever works I'll use. Thanks Again, "If you had a Linux box with a Pentium II chip begin compiling a perl program at 12:00 pm in Atlanta and you had a Windows 98 box running on an Athlon 4 Processor start compiling a perl program at 12:30 pm in Chicago which one would finish first?

Answer: I can't even get my windows box to shutdown properly, I don't know about compiling.&q
 
well you can try this:

Code:
<script language=&quot;javascript&quot;>
window.location.replace(&quot;url of page to stay at goes here&quot;)
</script>

try that with and without quotes, I'm not sure if you need them or not. This code will replace the history entry of the login page with the page you want to keep people on. The best place to put this would be in the onSubmit of your form, and then put a retry link on the failed login page if you don't have one -Greg :-Q
 

Thank You,

That did just the trick,

Tony &quot;If you had a Linux box with a Pentium II chip begin compiling a perl program at 12:00 pm in Atlanta and you had a Windows 98 box running on an Athlon 4 Processor start compiling a perl program at 12:30 pm in Chicago which one would finish first?

Answer: I can't even get my windows box to shutdown properly, I don't know about compiling.&q
 
that might not work on netscape, you might want to try it.. -Greg :-Q
 

To Heck With Netscape I always say, HAHAHA, IE forever!!!

Tony &quot;If you had a Linux box with a Pentium II chip begin compiling a perl program at 12:00 pm in Atlanta and you had a Windows 98 box running on an Athlon 4 Processor start compiling a perl program at 12:30 pm in Chicago which one would finish first?

Answer: I can't even get my windows box to shutdown properly, I don't know about compiling.&q
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top