473,563 Members | 2,797 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2577
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*****@benepe n.com> wrote in message
news:eM******** ******@TK2MSFTN GP09.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*****@benepe n.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*****@despam med.com> wrote in message
news:e$******** ********@TK2MSF TNGP10.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*****@benepe n.com> wrote in message
news:eM******** ******@TK2MSFTN GP09.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*****@benepe n.com> wrote in message
news:eM******** ******@TK2MSFTN GP09.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*****@benepe n.com> a écrit dans le message de
news:u$******** ******@tk2msftn gp13.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*****@despam med.com> wrote in message
news:e$******** ********@TK2MSF TNGP10.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*****@benepe n.com> wrote in message
news:eM******** ******@TK2MSFTN GP09.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******** ******@tk2msftn gp13.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*****@benepe n.com> a écrit dans le message de
news:u$******** ******@tk2msftn gp13.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*****@despam med.com> wrote in message
news:e$******** ********@TK2MSF TNGP10.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*****@benepe n.com> wrote in message
news:eM******** ******@TK2MSFTN GP09.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
3313
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
65738
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 remove them? If the browser is Netscape I can use javascript: window.toolbar.visible = false; window.menubar.visible = false; but IE produces the...
4
5179
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 as "active content". :( The idea is that if the user doesn't have JavaScript enabled, they will see an image of the email address (that can't be...
5
2711
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
4949
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 internet explorer. and i wonder how to get around the login problems. the C# programs only downloads the login page, do i need to "instruct" the...
1
1433
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
2505
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 records from the backend-table . For creating this dynamic table I've used another Jsp(Jsp2) and in Jsp1 I say: <iframe id = "I1" src="Jsp2.jsp"...
9
2468
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
10111
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 prefix them with 2 underscores, but I hate prefixing my vars, I'd rather add a keyword before it. Python advertises himself as a full OOP language,...
0
7888
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8106
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7950
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6255
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5484
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5213
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2082
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
924
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.