Montaque

Nothing is impossible for MS .NET

Passing a session id to the server

With a remoting service running in IIS I can access the session state, user,
application, etc using the RemotingService class.

What is the best way to pass a session from a console client to the server?
I assume this must be done with the HTTP header, but what is the best way to
do this?

the same question in http://dotnet247.com/247reference/msgs/1/5553.aspx

Posted: Mar 24 2004, 01:39 AM by Montaque | with 4 comment(s)
Filed under:

Comments

Montaque said:

In fact, the server side remoting object can not access the session object.
session is always null, besides HttpContext.Current.Session
# March 24, 2004 1:42 AM

Montaque said:

Now I've successfully used the User and Application property of the
RemoteService class in a .NET remoting server running in IIS, but the
Session is null.

How can I enable the session for the remoting server? Session is enabled in
the web.config file.

Many thanks,
# March 24, 2004 1:48 AM

Montaque said:

great!
# March 24, 2004 2:42 AM

Montaque said:

Remoting Object must be CAO
# April 1, 2004 5:21 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)