Avatar of marc_rabil
marc_rabil
 asked on

Change Browser Address URL without Relaoding the Page

We have an application where the user enters with a certain URL such as http://some_host/home.htm.  With AJAX, we change the DOM of this first page so that it is identical to another page with a URL say http://some_host/login.htm.  

If the user refreshes the browser or bookmarks the page they will be returned to /home.htm instead of /login.htm.

Is there a way we can use JavaScript to change the URLin the address bar from http://some_host/home.htm to http://some_host/login.htm without actually reloading the page in the browser?  

We need a solution (or less-desirabll of course, a combination of solutions) for recent versions of the major browsers (IE, Mozilla-family, Opera, Safari).  
Web Languages and StandardsJavaScriptAJAX

Avatar of undefined
Last Comment
marc_rabil

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
LordOfPorts

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
marc_rabil

ASKER
I am only awarding 50 pts since the module is useful, but after looking ti over, I could not figure out how to do what I want.  
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23