MSMVPS.COM
The Ultimate Destination for Blogs by Current and Former Microsoft Most Valuable Professionals.

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
Filed under:

Comments

Montaque wrote re: Passing a session id to the server
on 03-24-2004 1:42
In fact, the server side remoting object can not access the session object.
session is always null, besides HttpContext.Current.Session
Montaque wrote re: Passing a session id to the server
on 03-24-2004 1:48
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,
Montaque wrote re: Passing a session id to the server
on 03-24-2004 2:42
great!
Montaque wrote re: Passing a session id to the server
on 04-01-2004 5:21
Remoting Object must be CAO

Add a Comment

(required)  
(optional)
(required)  
Remember Me?


Copyright © is the original authors. Blog site is an independent site not sponsored by Microsoft. The Yoda blog server and the Brianna SQL server would like to thank www.ownwebnow.com and www.exchangedefender.com. They wouldn't be here and broadcasting without the generosity of Vlad Mazek and his companies.

Powered by Community Server (Commercial Edition), by Telligent Systems