Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_professional thread: how can I accomplish the equivalent of rowspan with a dot.net control


Message #1 by sg48@y... on Wed, 9 Oct 2002 14:23:33
Hello,

About session identification,
the property HttpContext.Current.Session.SessionID, when called on client
side, is a constant value. I'm fine with that. It means that each browser
session is unique. Good.
But when the same client makes repetitive method calls to the same unique
Web Server for this SessionID value, the sessionId is not the same.... Not
what I imagined it would do...

To be more precise, I have a Web Service containing the following method:

[WebMethod(EnabledSession=true)]
public string getSessionID()
{
    return HttpContext.Current.Session.SessionID;
}

Subsequent calls to this method from the same client browser returns
different values every time for SessionId. I don't understood why. It is my
understanding that session identification is dealt with on the server side,
and there is a unique identifier for each client browser session. What I
want to do is
identify a client session on server side...
At the moment, SessionId on client side is a constant value, but asking for
it with a method call to the server yields a different value every time
(F5 - Refresh). Any ideas? Cheers!



  Return to Index