Out of Proc Session Mode...

L

Lucas Tam

If I use Out of Proc mode for sessions - do I get all of the in-Proc
session features, but it's just slower?

Also, if I upgrade the DLLs on the server side, will I lose Out of Proc
sessions?

Thanks.
 
B

Bruce Barker

no and no.

out proc session objects are required to be serializable, while inproc can
reference any object.

-- bruce (sqlwork.com)
 
L

Lucas Tam

no and no.

out proc session objects are required to be serializable, while inproc
can reference any object.


Thanks for the info - anyway to protect sessions from being deleted while
the DLLs are upgraded?
 
L

Lauri Kotilainen

Hi,

Lucas said:
If I use Out of Proc mode for sessions - do I get all of the in-Proc
session features, but it's just slower?

With one difference. All classes you store in the session must be
Serializable (marked with [Serializable]), or you'll get an exception.
Also, if I upgrade the DLLs on the server side, will I lose Out of Proc
sessions?

No, since the sessions are no longer stored along with the recycled
AppDomain.

Regards,
-Lauri
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,825
Latest member
VernonQuy6

Latest Threads

Top