Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Hide URL in the URL bar (web develop by ASP)

Posted on 2006-07-12
8
667 Views
Last Modified: 2013-11-19
Hi everyone,

The question is, what is the best way to hide url
Ex: 'www.mysite.com/default.asp?a=XX&id=1' so that all the visitor sees is www.mysite.com/shop in the URL bar? .

I develop web by ASP.

It's urgent. Please help me
Thanks
0
Comment
Question by:ndqee
8 Comments
 
LVL 2

Accepted Solution

by:
Fushi earned 63 total points
ID: 17089303
Consider this link:

http://www.computing.net/webdevel/wwwboard/forum/1684.html

It is done using frames

Here is another example with launching a new window:

http://answers.google.com/answers/threadview?id=301249

I think it can also be done on hosting account but you would need to ask your hosting provider

Cheers!
0
 
LVL 15

Expert Comment

by:deepaknet
ID: 17089833
With ASP.NET, you have URLRewriter techniques.
0
 
LVL 3

Assisted Solution

by:esdxr26
esdxr26 earned 62 total points
ID: 17090121
Place this code into the 'shop' folder and name it index.htm

When people type www.mysite.com/shop they will open the page in a hidden frameset.

<head><title>Website Title</title></head>

<frameset rows='100%, *' frameborder="0" framespacing="0" border="0">

<frame src="http://www.mysite.com/default.asp?a=XX&id=1" name=mainwindow frameborder=no framespacing=0 marginheight=0 marginwidth=0></frame>

</frameset>

<noframes>

<h2>Your browser does not support frames.  We recommend upgrading your
browser.</h2><br><br>
<center>Click <a href="http://www.mysite.com/default.asp?a=XX&id=1">here</a> to enter the site.</center>

</noframes></html>
0
 
LVL 25

Expert Comment

by:SStory
ID: 17094361
The only other way I can think of is hidden form fields for your values--instead of query strings.
0
 
LVL 5

Expert Comment

by:vipero
ID: 17106285
I think esdxr26 got it right with the solution. This method, also called "URL cloaking", is widely known and documented on Google. Also check http://www.google.it/search?q=url+cloak 
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
This video teaches users how to migrate an existing Wordpress website to a new domain.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question