Re: Session Variable problem-Please Help

From: Elango Meenakshisundaram (elu22_at_hotmail.com)
Date: 05/06/03

  • Next message: Paul Hounshell: "User Authentication Using Custom ISAPI Filter"
    Date: Tue, 6 May 2003 15:38:45 -0400
    
    

    The session variable is carried over only in the same base URL. When the
    base url changes (from mysite to mypc), it won't carry over. It's like
    trying to carry session values between two different sites. As you can see,
    it did work on the same site.

    If you need to carry it over, and if you are using ASP.NET, you could either
    use HTTPContext or post the variables into the query string when you call
    into another server and set a new session variable there.

    Hope this helps.

    Elango.

    "Badrinath Mohan" <bmohan@uncc.edu> wrote in message
    news:O9tLeR#EDHA.2068@TK2MSFTNGP10.phx.gbl...
    > Hello Guys
    > I have a problem using the session variables..please look at the code
    > below...
    >
    > http://mysite.edu/test1.asp (Site 1)
    > Session("DummyVariable")="Mynamehere"
    >
    > http://mypc.edu/test2.asp (Another Site ,site 2)
    >
    > Response.Write("the dummy variable is " & Session("DummyVariable"))
    >
    > Its NOT working ....the Session("DummyVariable") returns null.. and not
    gets
    > printed...
    >
    > But if it is in the same PC(site) i am able to get it...
    > Why is it so...??
    >
    > Please help me..
    > Regards
    > Badri
    >
    >
    >


  • Next message: Paul Hounshell: "User Authentication Using Custom ISAPI Filter"