Свойство | Тип | Описание | |
---|---|---|---|
Data | System.Web.SessionState.SessionStateItemCollection | ||
DataCas | ulong | ||
Flag | SessionStateActions | ||
HeadCas | ulong | ||
LockId | ulong | ||
LockTime | System.DateTime | ||
Timeout | int |
Метод | Описание | |
---|---|---|
Load ( IBucket bucket, string id, bool metaOnly ) : |
Loads a session state item from the bucket
|
|
Load ( string headerPrefix, string dataPrefix, IBucket bucket, string id, bool metaOnly ) : |
Loads a session state item from the bucket. This function is publicly accessible so that you have direct access to session data from another application if necesssary. We use this so our front end code can determine if an employee is logged into our back end application to give them special permissions, without the session data being actually common between the two applications.
|
|
Remove ( IBucket bucket, string id ) : void |
Removes a session store item from the bucket
|
|
SaveAll ( IBucket bucket, string id, bool useCas, bool &keyNotFound ) : bool |
Saves the session store into Couchbase
|
|
SaveData ( IBucket bucket, string id, bool useCas, ResponseStatus &status ) : bool |
Saves the session store data into Couchbase
|
|
SaveHeader ( IBucket bucket, string id, bool useCas, ResponseStatus &status ) : bool |
Saves the session store header into Couchbase
|
|
ToStoreData ( |
Creates a session store data object from the session data
|
Метод | Описание | |
---|---|---|
LoadHeader ( Stream s ) : |
Loads a sessions store header data from the passed in stream
|
|
WriteHeader ( Stream s ) : void |
Writes the header to the stream
|
public static Load ( IBucket bucket, string id, bool metaOnly ) : |
||
bucket | IBucket | Couchbase bucket to load from |
id | string | Session ID |
metaOnly | bool | True to load only meta data |
Результат |
public static Load ( string headerPrefix, string dataPrefix, IBucket bucket, string id, bool metaOnly ) : |
||
headerPrefix | string | Prefix for the header data |
dataPrefix | string | Prefix for the real data |
bucket | IBucket | Couchbase bucket to load from |
id | string | Session ID |
metaOnly | bool | True to load only meta data |
Результат |
public static Remove ( IBucket bucket, string id ) : void | ||
bucket | IBucket | Bucket to remove from |
id | string | Session ID |
Результат | void |
public SaveAll ( IBucket bucket, string id, bool useCas, bool &keyNotFound ) : bool | ||
bucket | IBucket | Couchbase bucket to save to |
id | string | Session ID |
useCas | bool | True to use a check and set, false to simply store it |
keyNotFound | bool | True if |
Результат | bool |
public SaveData ( IBucket bucket, string id, bool useCas, ResponseStatus &status ) : bool | ||
bucket | IBucket | Couchbase bucket to save to |
id | string | Session ID |
useCas | bool | True to use a check and set, false to simply store it |
status | ResponseStatus | The |
Результат | bool |
public SaveHeader ( IBucket bucket, string id, bool useCas, ResponseStatus &status ) : bool | ||
bucket | IBucket | Couchbase bucket to save to |
id | string | Session ID |
useCas | bool | True to use a check and set, false to simply store it |
status | ResponseStatus | |
Результат | bool |
public ToStoreData ( |
||
context | HttpContext to use | |
Результат | System.Web.SessionState.SessionStateStoreData |
public SessionStateItemCollection,System.Web.SessionState Data | ||
Результат | System.Web.SessionState.SessionStateItemCollection |