473,386 Members | 1,764 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,386 software developers and data experts.

Suppressing the URL in a asp.net app

Hi,

I've seen many Internet sites that suppress the URL or show the same URL all
the time your moving around different pages. You'll only see the real page
with it's path in the statusbar way down on the page.

How is that done in asp.net?

I have an example on this, in sweden, stockholm where I live we have a
wellknown kindergarten for older men (warehouse shop) named Clas Ohlson

http://www.clasohlson.se/

You'll also have them on a flaglink in finnish, norwegian and english
language just above the statusbar. So that you see what I mean.

Any ideas?

TIA

Kenneth P
Nov 18 '05 #1
7 1299
The above link (http://www.clasohlson.se/) is using a frameset. The
address bar isn't updated since you're navigating within a frame of the
page frameset.

Since HTML Framesets are a client side technology, this approach would
work the exact same in ASP.NET.

More info on frames here:
http://www.w3schools.com/html/html_frames.asp
- Jon
http://weblogs.asp.net/jgalloway

Nov 18 '05 #2
Hi

They are using frames. Just look at the main page "View -> Sourece" and you
will see that page have some frame.
With right click on page you'll see that page has url. Click on top and also
on bottom to see that the page url is different.
Also take a look on frame stuff to undestand clearly what is happening.
There is no trick made in asp.net in that page.

Cheers.

"Kenneth P" wrote:
Hi,

I've seen many Internet sites that suppress the URL or show the same URL all
the time your moving around different pages. You'll only see the real page
with it's path in the statusbar way down on the page.

How is that done in asp.net?

I have an example on this, in sweden, stockholm where I live we have a
wellknown kindergarten for older men (warehouse shop) named Clas Ohlson

http://www.clasohlson.se/

You'll also have them on a flaglink in finnish, norwegian and english
language just above the statusbar. So that you see what I mean.

Any ideas?

TIA

Kenneth P

Nov 18 '05 #3
Kenneth P wrote:
Hi,

I've seen many Internet sites that suppress the URL or show the same
URL all the time your moving around different pages. You'll only see
the real page with it's path in the statusbar way down on the page.

How is that done in asp.net?

I have an example on this, in sweden, stockholm where I live we have a
wellknown kindergarten for older men (warehouse shop) named Clas
Ohlson

http://www.clasohlson.se/

You'll also have them on a flaglink in finnish, norwegian and english
language just above the statusbar. So that you see what I mean.

Any ideas?

TIA

Kenneth P


That has nothing to do with asp.net or any other server-side technology,
it is client-side html.
The trick is to use a frameset as your first page. The URL shown is the url of that
frameset definition, the rest of the site works within that frameset.

For that site: use "View | Source" from the menu and scroll down to below the
<NOSCRIPT> section. (strange, a noscript section with embedded javascript...)
Hans Kesting
Nov 18 '05 #4
Hi jongalloway,

Hmmm...

Have you seen the same technology on pages without frames?

Kenneth P
"jongalloway" wrote:
The above link (http://www.clasohlson.se/) is using a frameset. The
address bar isn't updated since you're navigating within a frame of the
page frameset.

Since HTML Framesets are a client side technology, this approach would
work the exact same in ASP.NET.

More info on frames here:
http://www.w3schools.com/html/html_frames.asp
- Jon
http://weblogs.asp.net/jgalloway

Nov 18 '05 #5


"Kenneth P" wrote:
Hi jongalloway,

Hmmm...

Have you seen the same technology on pages without frames?

Kenneth P
"jongalloway" wrote:
The above link (http://www.clasohlson.se/) is using a frameset. The
address bar isn't updated since you're navigating within a frame of the
page frameset.

Since HTML Framesets are a client side technology, this approach would
work the exact same in ASP.NET.

More info on frames here:
http://www.w3schools.com/html/html_frames.asp
- Jon
http://weblogs.asp.net/jgalloway

Nov 18 '05 #6
Sorry about that empty post above, accidentally hit the Enter key :-)

here are some interesting articles that could solve your problem:
www.15seconds.com/issue/030522.htm
www.codeproject.com/aspnet/URLRewriter.asp

I hope this helps
"Tim Bens" wrote:


"Kenneth P" wrote:
Hi jongalloway,

Hmmm...

Have you seen the same technology on pages without frames?

Kenneth P
"jongalloway" wrote:
The above link (http://www.clasohlson.se/) is using a frameset. The
address bar isn't updated since you're navigating within a frame of the
page frameset.

Since HTML Framesets are a client side technology, this approach would
work the exact same in ASP.NET.

More info on frames here:
http://www.w3schools.com/html/html_frames.asp
- Jon
http://weblogs.asp.net/jgalloway

Nov 18 '05 #7
Tim,

Thanks for the links.

Kenneth P

"Tim Bens" wrote:
Sorry about that empty post above, accidentally hit the Enter key :-)

here are some interesting articles that could solve your problem:
www.15seconds.com/issue/030522.htm
www.codeproject.com/aspnet/URLRewriter.asp

I hope this helps
"Tim Bens" wrote:


"Kenneth P" wrote:
Hi jongalloway,

Hmmm...

Have you seen the same technology on pages without frames?

Kenneth P
"jongalloway" wrote:

> The above link (http://www.clasohlson.se/) is using a frameset. The
> address bar isn't updated since you're navigating within a frame of the
> page frameset.
>
> Since HTML Framesets are a client side technology, this approach would
> work the exact same in ASP.NET.
>
> More info on frames here:
> http://www.w3schools.com/html/html_frames.asp
> - Jon
> http://weblogs.asp.net/jgalloway
>
>

Nov 19 '05 #8

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

Similar topics

2
by: Rob Tweed | last post by:
I need to take complete control of the HTTP responses, and I don't want PHP to intervene and send its ones in front of mine etc. Is there any way of telling PHP NOT to send any headers and...
5
by: Phil Powell | last post by:
How do I suppress the lines PHP normally delivers to stdout (your browser) if I am doing command-line PHP? e.g. stuff.php: <? echo 'Hello World'; ?> Calling it from a Red Hat 7.3...
1
by: contact | last post by:
Is it possible to persuade pydoc not to include documentation for methods inherited from built-in classes? I have several classes that inherit from dict, and don't really need documentation...
0
by: skn | last post by:
Hello, Is there any option to suppress the JVM activity report that gets displayed, when you execute Java APIs from within Python using JPype. E.g., JVM activity report : classes...
3
by: Shuaib | last post by:
Is there any way for Oracle (using standard SQL rather than PL/SQL) to suppress the newline character when returning a list of rows. For example, if I have a table EMP with several records. When...
2
by: Monisha | last post by:
Hi, I need to get a list of columns and corresponding datatypes for the given table name. I am using the query: select a.name, b.type_name from syscolumns a,
40
by: Dave Hansen | last post by:
Please note crosspost. Often when writing code requiring function pointers, it is necessary to write functions that ignore their formal parameters. For example, a state machine function might...
2
by: stevie.greenslade | last post by:
'Lo all. I have a simple question I'd like help on. :] How, if at all, would one go about suppressing the console window that flashes up when you make at system() call in your C++ program? I'm...
1
by: janefield2002 | last post by:
Hi there, I have a client-server application that periodically connects to an Access database on a network. My netowrk sometimes goes down and there is an ODBC failure to connect. This results...
5
by: Don Li | last post by:
Hi, A web app server package that I'm using includes a bunch of open source UI components (heavy with javascripts). Inevitably it has bugs, e.g. "undefined" is null or not an object. This...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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...

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.