Click to See Complete Forum and Search --> : How to mask the URL in the IE address bar (without using POST method...)


Caliban
01-02-2004, 04:13 PM
Hi y'all JS gurues!
Happy Nu.Year.2004!

I have the following question:
is it possible to "mask" the URL in the browser?

It's just that I call a page with parameters from another one, like this:
PAGE 1
calls the page
http://myintrasite/mydir1/mypage.php?par1=one

in the new window's address bar appears:
http://myintrasite/mydir1/mypage.php?par1=one

I know this is the GET method, but ... is it possible to "mask" this URL in the address bar, like this

mypage

instead of

http://myintrasite/mydir1/mypage.php?par1=one


I don't have any way to use the POST method in order to hide the parameters, because i don't call this page via a form page.

(PLS TAKE A LOOK AT THE ATTACHED PIC)

It probably sounds crazy, but if anyone have an idea about how to achieve it, it'll be welcome!

Thanx in advance!

Jona
01-02-2004, 04:51 PM
You can't hide the address bar with JavaScript, unless you had the form open in a new window without one or something... And even if you could, people could look in the source and modify the action of the form so that it gives them what they want...

[J]ona