473,513 Members | 2,359 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

SessionState and Window.Location.Href

Hi.

I have built a site with tabs-based navigation as a pretty major
component. The tabs use window.location.href to understand
where the user is and displays the appropriate tabs accordingly.
I have recently learned about the sessionstate properties of
ASP.NET 2.0 and am trying to user cookieless navigation. This makes a
mess of the current URL and, as a result, window.location.href is
pretty useless as a way to tell the tabs
what to display.

In short, how do I display the correct tabs while using sessionstate
in Web.config?

Thanks.
Peter

Mar 19 '07 #1
2 3600
parse the url so you only look at the page name.

-- bruce (sqlwork.com)

pbd22 wrote:
Hi.

I have built a site with tabs-based navigation as a pretty major
component. The tabs use window.location.href to understand
where the user is and displays the appropriate tabs accordingly.
I have recently learned about the sessionstate properties of
ASP.NET 2.0 and am trying to user cookieless navigation. This makes a
mess of the current URL and, as a result, window.location.href is
pretty useless as a way to tell the tabs
what to display.

In short, how do I display the correct tabs while using sessionstate
in Web.config?

Thanks.
Peter
Mar 20 '07 #2
On Mar 20, 8:36 am, bruce barker <nos...@nospam.comwrote:
parse the url so you only look at the page name.

-- bruce (sqlwork.com)

pbd22 wrote:
Hi.
I have built a site with tabs-based navigation as a pretty major
component. The tabs use window.location.href to understand
where the user is and displays the appropriate tabs accordingly.
I have recently learned about the sessionstate properties of
ASP.NET 2.0 and am trying to user cookieless navigation. This makes a
mess of the current URL and, as a result, window.location.href is
pretty useless as a way to tell the tabs
what to display.
In short, how do I display the correct tabs while using sessionstate
in Web.config?
Thanks.
Peter

Ah, yes. Silly me. Thanks.

Mar 20 '07 #3

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

Similar topics

5
9694
by: Carol Lyn | last post by:
Could use your assistance with this. I have a window that opens via onclick and it is a small window with info about a site. If the user is interested in visiting that site, there is a link to...
3
4562
by: sentinel | last post by:
Hi all, I'm trying to reload a frame from a pop-up, but really cannot figure this out. Within my index.htm file, I make a link to call a pop-up frame with a javascript function that calls the...
5
7497
by: spam_me_ not | last post by:
I already understand that one cannot disable a browser's forward and back functions. This is a situation where I have code working in Mozilla V1.6 and would like something similar for Opera and...
3
50367
by: saiho.yuen | last post by:
Hi, Is anyone know what is the difference between Location.href and Window.location.href Thanks you very much:) Saiho
3
22967
by: Christian Hubinger | last post by:
Hi! I'm working on a page that uses javascript very much. My problem is now that i cannot redirect to another page in IE with window.location =<URL>; This command gets executed (proofed with...
8
2466
by: johnsonholding | last post by:
Here is the code for a pop-up window that works in Firefox and not in IE - I get a java error or something, Here is the code : </script> <SCRIPT language="JavaScript"...
2
19217
by: Robert Degen | last post by:
Hello, I got a little problem. Seems very simple: * I want to open a popup window * Popup-window uses data from its father window. BUT a parent.window does NOT point to the real parents...
18
3301
by: len.hartley | last post by:
Hi, I am trying to pop-up a window when the user clicks on an image. The problem is that when the user clicks on the image and the window pops up OK, but the window underneath also proceeds to...
5
12863
by: soni2926 | last post by:
Hi, I have a pop up window, that window needs to refresh the parent window when opened, I'm doing the following: window.opener.location.href(window.opener.location.href); problem I'm having...
0
7265
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
7171
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
7545
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...
1
7111
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
5095
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...
0
3228
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1605
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 ...
1
807
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
461
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...

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.