For Programmers: Free Programming Magazines  


Home > Archive > ASP .NET > May 2006 > How to hide the full url of a website and only display the domain name?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author How to hide the full url of a website and only display the domain name?
Nikron

2006-05-31, 4:12 am

Hi,

How would I hide the pages that the user is surfing and just show
him/her the domain name. E.G. www.google.com as opposed to
www.google.com/index.aspx etc...


Thanks

parshu

2006-05-31, 4:12 am

One of the possible way is using Frames. If you use Frame and disable
right click then u can hide the hyperlink.
As for the default page such as Index.aspx, these pages aren't show
because they r by default mapped in ur IIS default document.

HTH

Nikron wrote:
> Hi,
>
> How would I hide the pages that the user is surfing and just show
> him/her the domain name. E.G. www.google.com as opposed to
> www.google.com/index.aspx etc...
>
>
> Thanks


Nikron

2006-05-31, 4:12 am

Howzit parshu,

thanks for the reply but I can't disable the right click in my app.
Surely there is some kind of setting that will hide the page name in
the browser url box.

parshu

2006-05-31, 4:12 am

Till date i've seen 2 possible ways to hide the page name, 1 is using
Frames and other is using Window.open to popup a new window. There
isn't any method that comes to my mind to hide the page names. Sorry,
that's all i can help.

Regards

Nikron wrote:
> Howzit parshu,
>
> thanks for the reply but I can't disable the right click in my app.
> Surely there is some kind of setting that will hide the page name in
> the browser url box.


Mark Rae

2006-05-31, 4:12 am

"Nikron" <xml.miguel@gmail.com> wrote in message
news:1149059330.465707.272500@y43g2000cwc.googlegroups.com...

> How would I hide the pages that the user is surfing and just show
> him/her the domain name. E.G. www.google.com as opposed to
> www.google.com/index.aspx etc...


As has been mentioned, frames is the easiest way to do this.

However, it's generally considered to be a fairly pointless exercise, and
can cause lots of problems. E.g. if you have a site wrapped in a
browser-wide frame, and part of that site requires SSL, you won't see the
padlock in the browser's statusbar etc...


Patrice

2006-05-31, 4:12 am

There is no way then. The browser must know the location. If the location is
known from the browser it can be known from the user...

Are you doing something that is not legal ? ;-)

--
Patrice

"Nikron" <xml.miguel@gmail.com> a écrit dans le message de news:
1149060211.178971.231480@h76g2000cwa.googlegroups.com...
> Howzit parshu,
>
> thanks for the reply but I can't disable the right click in my app.
> Surely there is some kind of setting that will hide the page name in
> the browser url box.
>



Mark Rae

2006-05-31, 4:12 am

"Patrice" <scribe@chez.com> wrote in message
news:OcPEW2IhGHA.1612@TK2MSFTNGP04.phx.gbl...

> Are you doing something that is not legal ? ;-)


I was wondering that too...


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com