RedirectFromLoginPage, use location.replace instead?

M

Mike

Hey-

I have a web app I'm writing where I cannot allow there to be any pages
loaded into the history during the course of going from page to page. This
for the most part is no problem. I just make all my links call a function
that does a javascript location.replace() instead of just navigating to
these pages.

The problem is where I have my login page. When I do a
RedirectFromLoginPage(username, true) on the back end, it just navigates to
that next page regularly, which then has a page in the history, and if the
user were to hit "BACK" they could go to this page.

Is there any way you know of that I can make the RedirectFromLoginPage do a
location.replace instead of just a normal navigate? Please let me know.
Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top