Re: remove url from address?
Quote:
Originally Posted by Techno
Hi
I was wondering, is there a way to remove the url from the IE address bar in ASP.NET?
For example, if i design a web site with ASP.NET, there are several links to other pages, which include querystrings, and that entire url + querystring(s) are stored in IE - i would like to remove them if thats possible? is it possible? I dont wish ppl to access the page by clicking on the URL from the drop down list in the address bar, as it contains encryption in query strings....
:)
You got two options, first use Post method which I will recommend. Second option is to use JavaScript to open a new window and disable the adress bar. You can do that with window.open function, look it up. You can disable adress bar, menu, status bar etc.
Hope this helps.
Re: remove url from address?
thanks for that :) i would rather stick to the same page so i guess postback is better
*reads up on postback and how it works*
in the html view of the form, it already has a method="post" tag in the form tag - is that different or what?