Monday, March 26, 2012

'permanent' web site url while browsing?

Hi all!
Does anyone know of a way to keep a permanent url throughout a user's
browsing?
For example, if my web site's address is http://www.mysite.com,
I have noticed that some sites keep that url 'permanent' somehow,
i.e. doesn't change while e.g. clicking on a link!
How is this accomplished? Maybe some sort of script?
Thanks in advance!use a frame.
Best regards,
Dave Colliver.
http://www.AshfieldFOCUS.com
~~
http://www.FOCUSPortals.com - Local franchises available
"patrickdrd" <patrickdrd@.discussions.microsoft.com> wrote in message
news:FDA51396-2304-4098-9A24-2AB478A8EF88@.microsoft.com...
> Hi all!
> Does anyone know of a way to keep a permanent url throughout a user's
> browsing?
> For example, if my web site's address is http://www.mysite.com,
> I have noticed that some sites keep that url 'permanent' somehow,
> i.e. doesn't change while e.g. clicking on a link!
> How is this accomplished? Maybe some sort of script?
> Thanks in advance!
No, I don't like frames,
something else?
Hi,
patrickdrd wrote:
> No, I don't like frames,
> something else?
Apart from frames of iframes, there are no alternatives using standard
HTML / JavaScript. Even when using URL rewriting, you still need to
provide a unique URL to the server.
Other solutions could be using WPF, Flash or any other type of plug-in.
In these cases, the navigation is not handled by the browser anymore,
but by the plug-in itself.
HTH,
Laurent
--
Laurent Bugnion [MVP ASP.NET]
Software engineering, Blog: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
> Even when using URL rewriting, you still need to
> provide a unique URL to the server.
I don't care about the server,
I care about what the client can see,
will the client realize the same url by that?
Hi,
patrickdrd wrote:
> I don't care about the server,
> I care about what the client can see,
> will the client realize the same url by that?
Maybe you don't, but the web browser does care.
It's not possible, except by the solutions already provided to you.
Greetings,
Laurent
--
Laurent Bugnion [MVP ASP.NET]
Software engineering, Blog: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
no
use forms.
So if the user clicks the biteme button, the page shows the biteme stuff.
if the user clicks the bitemybubbles button the page shows the bitemybubbles
stuff
same url the whole time
this is usually done one of 2 way:
1) site frameset
2) model-view-controller pattern (site is just one page)
-- bruce (sqlwork.com)
patrickdrd wrote:
> Hi all!
> Does anyone know of a way to keep a permanent url throughout a user's
> browsing?
> For example, if my web site's address is http://www.mysite.com,
> I have noticed that some sites keep that url 'permanent' somehow,
> i.e. doesn't change while e.g. clicking on a link!
> How is this accomplished? Maybe some sort of script?
> Thanks in advance!
What about Server.Transfer?
Keep transferring the user to another page. The server knows, the client
doesn't.
This is (kinda) similar to proper MVC, which .NET doesn't really do that
well, in that the context keeps getting forwared somewhere else to handle
the request and provide the view.
"Laurent Bugnion [MVP]" <galasoft-lb@.bluewin.ch> wrote in message
news:OQlXfg3WHHA.1180@.TK2MSFTNGP05.phx.gbl...
> Hi,
> patrickdrd wrote:
> Maybe you don't, but the web browser does care.
> It's not possible, except by the solutions already provided to you.
> Greetings,
> Laurent
> --
> Laurent Bugnion [MVP ASP.NET]
> Software engineering, Blog: http://www.galasoft-LB.ch
> PhotoAlbum: http://www.galasoft-LB.ch/pictures
> Support children in Calcutta: http://www.calcutta-espoir.ch

0 comments:

Post a Comment