public class SessionDatasource extends StorageScopeDatasource implements Session
Collection.Key
PREFIX
CFID, CFTOKEN, HITCOUNT, LASTVISIT, SESSION_ID, TIMECREATED, URLTOKEN
SCOPE_APPLICATION, SCOPE_ARGUMENTS, SCOPE_CALLER, SCOPE_CGI, SCOPE_CLIENT, SCOPE_CLUSTER, SCOPE_COOKIE, SCOPE_COUNT, SCOPE_FORM, SCOPE_LOCAL, SCOPE_REQUEST, SCOPE_SERVER, SCOPE_SESSION, SCOPE_UNDEFINED, SCOPE_URL, SCOPE_VAR, SCOPE_VARIABLES
TYPE_LINKED, TYPE_REGULAR, TYPE_SOFT, TYPE_SYNC, TYPE_WEAKED
Modifier and Type | Method and Description |
---|---|
Collection |
duplicate(boolean deepCopy) |
static Session |
getInstance(String datasourceName,
PageContext pc,
Log log)
load an new instance of the client datasource scope
|
static Session |
getInstance(String datasourceName,
PageContext pc,
Log log,
Session defaultValue) |
static boolean |
hasInstance(String datasourceName,
PageContext pc) |
getDatasourceName, getStorageType, store, touchAfterRequest, touchBeforeRequest, unstore
_getId, castToBoolean, castToBooleanValue, castToDateTime, castToDateTime, castToDoubleValue, castToDoubleValue, castToString, castToString, clear, compareTo, compareTo, compareTo, compareTo, containsKey, containsValue, decode, encode, entryIterator, generateToken, get, get, getCreated, getLastAccess, getMaxInactiveInterval, getStorage, getTimeSpan, getType, getTypeAsString, hasChanges, hasContent, initialize, isExpired, isInitalized, keyIterator, keys, keysAsStringIterator, lastVisit, pureKeys, release, release, remove, removeEL, resetEnv, set, setEL, setMaxInactiveInterval, setStorage, size, sizeOf, toDumpData, touch, valueIterator, values, verifyToken
call, callWithNamedValues, clone, containsKey, containsKey, entrySet, equals, get, get, get, get, get, getIterator, invalidKey, isEmpty, keySet, put, putAll, remove, set, set, setEL, setEL, toString
getClass, hashCode, notify, notifyAll, wait, wait, wait
_getId, getCreated, getLastAccess, getTimeSpan, isExpired, pureKeys, touch
touchAfterRequest, touchBeforeRequest
getType, getTypeAsString, initialize, isInitalized, release, release
clear, clone, containsKey, containsKey, get, get, get, get, keys, remove, removeEL, set, set, setEL, setEL, size
entryIterator, keyIterator, keysAsStringIterator, valueIterator
getIterator
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
call, callWithNamedValues, get, get, set, setEL
toDumpData
castToBoolean, castToBooleanValue, castToDateTime, castToDateTime, castToDoubleValue, castToDoubleValue, castToString, castToString, compareTo, compareTo, compareTo, compareTo
public static Session getInstance(String datasourceName, PageContext pc, Log log) throws PageException
datasourceName
- appName
- pc
- checkExpires
- PageException
public static Session getInstance(String datasourceName, PageContext pc, Log log, Session defaultValue)
public static boolean hasInstance(String datasourceName, PageContext pc)
public Collection duplicate(boolean deepCopy)
duplicate
in interface Collection
Copyright © 2015 Lucee