Session Variables lost between pages

Discussion in 'ASP .Net' started by gupta, Nov 6, 2003.

  1. gupta

    gupta Guest

    I am having a strange problem with my Web App.
    When I launch my web App using localhost or an ip address (e.g
    192.133.98.32) all the sesssion variables works fine and Session_start event
    in Global.asax is fired only once.

    Now when I run that application using machine name W_MARC, Session_Start
    fires for every page it try to display and even for redirect and thus losses
    all the Session variables.

    Does any one know, What is wrong and how to fix it.

    Thanks
    Anil
    gupta, Nov 6, 2003
    #1
    1. Advertising

  2. gupta

    Rad Guest

    the server name is "wrong" :) don't use underscore in machine's name..

    http://support.microsoft.com/default.aspx?scid=kb;EN-US;316112

    (applies to ASP.NET as well)

    "gupta" <> wrote in message
    news:...
    > I am having a strange problem with my Web App.
    > When I launch my web App using localhost or an ip address (e.g
    > 192.133.98.32) all the sesssion variables works fine and Session_start

    event
    > in Global.asax is fired only once.
    >
    > Now when I run that application using machine name W_MARC, Session_Start
    > fires for every page it try to display and even for redirect and thus

    losses
    > all the Session variables.
    >
    > Does any one know, What is wrong and how to fix it.
    >
    > Thanks
    > Anil
    >
    >
    Rad, Nov 6, 2003
    #2
    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. Marc Rivait

    Session variable lost between pages

    Marc Rivait, Nov 4, 2003, in forum: ASP .Net
    Replies:
    5
    Views:
    7,357
    Marc Rivait
    Nov 5, 2003
  2. Malek
    Replies:
    1
    Views:
    300
  3. =?Utf-8?B?Z2xlbm4=?=

    Session variable is lost between ASP & ASP.NET pages

    =?Utf-8?B?Z2xlbm4=?=, Mar 28, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    1,291
    Juan T. Llibre
    Mar 28, 2006
  4. John Devlon

    Sharing session variables between pages

    John Devlon, Jun 29, 2009, in forum: ASP .Net
    Replies:
    1
    Views:
    556
  5. Adam

    Session variables lost across pages

    Adam, Apr 26, 2004, in forum: ASP General
    Replies:
    8
    Views:
    777
Loading...

Share This Page