SessionState and Window.Location.Href

Discussion in 'ASP .Net' started by pbd22, Mar 19, 2007.

  1. pbd22

    pbd22 Guest

    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
     
    pbd22, Mar 19, 2007
    #1
    1. Advertising

  2. pbd22

    bruce barker Guest

    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
    >
     
    bruce barker, Mar 20, 2007
    #2
    1. Advertising

  3. pbd22

    pbd22 Guest

    On Mar 20, 8:36 am, bruce barker <> wrote:
    > 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.
     
    pbd22, Mar 20, 2007
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Leon
    Replies:
    1
    Views:
    10,203
    Boban Dragojlovic
    Jun 24, 2003
  2. Chuck

    onclick for button and window.location.href

    Chuck, Feb 2, 2010, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    6,437
    Chuck
    Feb 2, 2010
  3. saiho.yuen
    Replies:
    3
    Views:
    439
    kaeli
    Sep 14, 2004
  4. Replies:
    2
    Views:
    482
  5. Alex Bird
    Replies:
    3
    Views:
    190
    Thomas 'PointedEars' Lahn
    May 9, 2008
Loading...

Share This Page