iBATIS.NET Class Library DataMapper V1.6.1, DataAccess V1.9.1

HybridWebThreadSessionStore Class

This implementation of ISessionStorewill first try to get the currentrequest, and if not found, will use a thread local.

For a list of all members of this type, see HybridWebThreadSessionStore Members.

System.Object
   MarshalByRefObject
      AbstractSessionStore
         HybridWebThreadSessionStore

[Visual Basic]
Public Class HybridWebThreadSessionStore
    Inherits 
[C#]
public class HybridWebThreadSessionStore : AbstractSessionStore

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

This is used for scenarios where most of the you need per request session, but you also does some work outside a request (in a thread pool thread, for instance).

Requirements

Namespace: IBatisNet.DataMapper.SessionStore

Assembly: IBatisNet.DataMapper (in IBatisNet.DataMapper.dll)

See Also

HybridWebThreadSessionStore Members | IBatisNet.DataMapper.SessionStore Namespace