473,383 Members | 1,792 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Hiding WebPage name in address bar

Hi,

I don't want to show the web page name shown in the address bar.
For example if the website address is http://localhost/webreadfile/ so from
this point forward, no matter which pages I surf, the address bar should
look like http://localhost/webreadfile/. It should not show any page name.

Thanks
Nov 19 '05 #1
6 2567
Why would you ever want to do this, it makes no sense to confuse the user as
to where they are in an application?

You could load a frameset with your site inside another inside a parent
frameset and the URL will not change on the parent.even though the pages in
the child change, or simply launch your site into a window with no chrome

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"Mustufa Baig" <mu*****@benepen.com> wrote in message
news:eM**************@TK2MSFTNGP09.phx.gbl...
Hi,

I don't want to show the web page name shown in the address bar.
For example if the website address is http://localhost/webreadfile/ so from this point forward, no matter which pages I surf, the address bar should
look like http://localhost/webreadfile/. It should not show any page name.

Thanks

Nov 19 '05 #2
On Tue, 05 Apr 2005 11:00:49 -0500, Mustufa Baig <mu*****@benepen.com>
wrote:
Hi,

I don't want to show the web page name shown in the address bar.
For example if the website address is http://localhost/webreadfile/ so
from
this point forward, no matter which pages I surf, the address bar should
look like http://localhost/webreadfile/. It should not show any page
name.

Thanks


Most often this is done with frames/iframe. Otherwise you'd have to do
some sort of URL rewriting (which is possible), but you'd still need
unique URLs for that (albeit more minor changes).

--
Craig Deelsnyder
Microsoft MVP - ASP/ASP.NET
Nov 19 '05 #3
Okay. Got it!

I don't want to let users click back button. One way is to hide the tool bar
thru javascript. I can acheive it only when the user clicks on a link and
website opens in a new in a new window. But let say users are not clicking a
link to get to my website, they are actually getting to it by typing website
address. In this case I don't know how to make the toolbar disappear.

Could you please give me some suggestions on this?

Thanks

"John Timney (ASP.NET MVP)" <ti*****@despammed.com> wrote in message
news:e$****************@TK2MSFTNGP10.phx.gbl...
Why would you ever want to do this, it makes no sense to confuse the user as to where they are in an application?

You could load a frameset with your site inside another inside a parent
frameset and the URL will not change on the parent.even though the pages in the child change, or simply launch your site into a window with no chrome

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"Mustufa Baig" <mu*****@benepen.com> wrote in message
news:eM**************@TK2MSFTNGP09.phx.gbl...
Hi,

I don't want to show the web page name shown in the address bar.
For example if the website address is http://localhost/webreadfile/ so

from
this point forward, no matter which pages I surf, the address bar should
look like http://localhost/webreadfile/. It should not show any page name.
Thanks


Nov 19 '05 #4
The address bar is going to show the URL of the page you are looking at. In
your example, apparently the page is a default page for the virtual
directory it lives in. Otherwise, the file name would appear in the URL.

While I can't for the life of me figure out why you'd want to do this, it
can be done in one of 3 ways that I can think of offhand:

1. Frameset. The URL will always be the URL of the Frameset itself, not any
of the frames.
2. Use a single page with the default file name is used for all pages
visited. Not good performance-wise.
3. Write a custom HttpHandler that handles all HTTP requests, and passes off
the Request to the appropriate page for processing.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.

"Mustufa Baig" <mu*****@benepen.com> wrote in message
news:eM**************@TK2MSFTNGP09.phx.gbl...
Hi,

I don't want to show the web page name shown in the address bar.
For example if the website address is http://localhost/webreadfile/ so
from
this point forward, no matter which pages I surf, the address bar should
look like http://localhost/webreadfile/. It should not show any page name.

Thanks

Nov 19 '05 #5
I belive you could just prevent caching so that those pages are not taken
into account by the history...

You could also implement something so that it doens't cause a problme if
they try to access to a page out of the expected sequence (it this for a
wizard like UI ?).

Patrice

--

"Mustufa Baig" <mu*****@benepen.com> a écrit dans le message de
news:u$**************@tk2msftngp13.phx.gbl...
Okay. Got it!

I don't want to let users click back button. One way is to hide the tool bar thru javascript. I can acheive it only when the user clicks on a link and
website opens in a new in a new window. But let say users are not clicking a link to get to my website, they are actually getting to it by typing website address. In this case I don't know how to make the toolbar disappear.

Could you please give me some suggestions on this?

Thanks

"John Timney (ASP.NET MVP)" <ti*****@despammed.com> wrote in message
news:e$****************@TK2MSFTNGP10.phx.gbl...
Why would you ever want to do this, it makes no sense to confuse the user
as
to where they are in an application?

You could load a frameset with your site inside another inside a parent
frameset and the URL will not change on the parent.even though the pages

in
the child change, or simply launch your site into a window with no chrome
--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"Mustufa Baig" <mu*****@benepen.com> wrote in message
news:eM**************@TK2MSFTNGP09.phx.gbl...
Hi,

I don't want to show the web page name shown in the address bar.
For example if the website address is http://localhost/webreadfile/ so

from
this point forward, no matter which pages I surf, the address bar should look like http://localhost/webreadfile/. It should not show any page

name.
Thanks



Nov 19 '05 #6
How can I prevent Pages from caching? I don't want to use Response.Expire=0
because its now old method.

Thanx

"Patrice" <no****@nowhere.com> wrote in message
news:ez**************@tk2msftngp13.phx.gbl...
I belive you could just prevent caching so that those pages are not taken
into account by the history...

You could also implement something so that it doens't cause a problme if
they try to access to a page out of the expected sequence (it this for a
wizard like UI ?).

Patrice

--

"Mustufa Baig" <mu*****@benepen.com> a écrit dans le message de
news:u$**************@tk2msftngp13.phx.gbl...
Okay. Got it!

I don't want to let users click back button. One way is to hide the tool bar
thru javascript. I can acheive it only when the user clicks on a link and
website opens in a new in a new window. But let say users are not clicking a
link to get to my website, they are actually getting to it by typing

website
address. In this case I don't know how to make the toolbar disappear.

Could you please give me some suggestions on this?

Thanks

"John Timney (ASP.NET MVP)" <ti*****@despammed.com> wrote in message
news:e$****************@TK2MSFTNGP10.phx.gbl...
Why would you ever want to do this, it makes no sense to confuse the

user
as
to where they are in an application?

You could load a frameset with your site inside another inside a parent frameset and the URL will not change on the parent.even though the pages in
the child change, or simply launch your site into a window with no

chrome
--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"Mustufa Baig" <mu*****@benepen.com> wrote in message
news:eM**************@TK2MSFTNGP09.phx.gbl...
> Hi,
>
> I don't want to show the web page name shown in the address bar.
> For example if the website address is http://localhost/webreadfile/
so from
> this point forward, no matter which pages I surf, the address bar

should > look like http://localhost/webreadfile/. It should not show any page

name.
>
> Thanks
>
>



Nov 19 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: Sarah Tanembaum | last post by:
test.html: <script type="text/javascript"> location = "test.php?name=blah"; </script> test.php <?php name=$_GET; echo "Name is: $name";
15
by: Code Monkee | last post by:
How can the toolbar and menubar be hidden in IE? When opening the window via javascript I can specify 'toolbar=no,menubar=no', which works fine. However if the window already exists how can I...
4
by: web_design | last post by:
I put this together from some other scripts I am using on a site. I'm trying to make a better email hiding script. It isn't working. Also, it causes Internet Explorer 6 SP2 to block the script...
5
by: sifar | last post by:
Hi, This is my first post to this Group. A] I am trying to create a escalation page which will mail an escalation report of a faulty product. Items needed on Page: -----------------------
5
by: Alan Zhong | last post by:
i wonder how to download a webpage automatically using a C# program with WebClient class. i tried it and it's working. but somehow the data it gets is different than the page shown in microsoft...
1
by: Ansari | last post by:
hi all is there anyother method for hiding page name from address bar of the browser... I dont want to show the compelete url in address bar Thanks Ansari
6
by: eureka | last post by:
Hi friends, I am developing a web application using Jsp and JS. I have a main Jsp page(Jsp1).Inside it I have an iframe having an Html- table which is created dynamically and contains all...
9
by: bushi | last post by:
hi everyone! i want to get the ipaddress,and the country name of a webpage visitor,using asp.Net(C#).if anyone knows about it,plz rply me. thanx in advance.
162
by: Sh4wn | last post by:
Hi, first, python is one of my fav languages, and i'll definitely keep developing with it. But, there's 1 one thing what I -really- miss: data hiding. I know member vars are private when you...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.