Home
About
Testimonials
Demos
Download
Documentation
Blogs
Forum
Support
Class Finder
Tutorials
Class Docs
API Manual
Wiki
Namespace:
System.Web
Inheritance:
TComponent
»
TApplicationComponent
»
THttpSession
»
TCacheHttpSession
Properties
|
Events
|
Methods
|
Derived classes
|
All classes
Properties
Name
Type
Description
R
Application
TApplication
current application instance. (inherited from
TApplicationComponent
)
AutoStart
boolean
whether the session should be automatically started when the session module is initialized, defaults to false. (inherited from
THttpSession
)
R
Cache
ICache
the cache module being used for data storage.
CacheModuleID
string
the ID of the cache module.
R
Cookie
THttpCookie
cookie that will be used to store session ID. (inherited from
THttpSession
)
CookieMode
THttpSessionCookieMode
how to use cookie to store session ID. (inherited from
THttpSession
)
R
Count
integer
the number of session variables. (inherited from
THttpSession
)
GCProbability
integer
the probability (percentage) that the gc (garbage collection) process is started on every session initialization, defaults to 1 meaning 1% chance. (inherited from
THttpSession
)
ID
string
id of this module. (inherited from
THttpSession
)
R
IsStarted
boolean
whether the session has started. (inherited from
THttpSession
)
R
Iterator
TSessionIterator
Returns an iterator for traversing the session variables. (inherited from
THttpSession
)
KeyPrefix
string
prefix of session variable name to avoid conflict with other cache data.
R
Keys
array
the list of session variable names. (inherited from
THttpSession
)
R
Request
THttpRequest
the current user request. (inherited from
TApplicationComponent
)
R
Response
THttpResponse
the response. (inherited from
TApplicationComponent
)
SavePath
string
the current session save path, defaults to '/tmp'. (inherited from
THttpSession
)
R
Service
IService
the current service. (inherited from
TApplicationComponent
)
R
Session
THttpSession
user session. (inherited from
TApplicationComponent
)
SessionID
string
the current session ID. (inherited from
THttpSession
)
SessionName
string
the current session name. (inherited from
THttpSession
)
Timeout
integer
the number of seconds after which data will be seen as 'garbage' and cleaned up, defaults to 1440 seconds. (inherited from
THttpSession
)
UseCustomStorage
boolean
whether to use user-specified handlers to store session data. (inherited from
THttpSession
)
UseTransparentSessionID
boolean
whether transparent sid support is enabled or not, defaults to false. (inherited from
THttpSession
)
R
User
IUser
information about the current user. (inherited from
TApplicationComponent
)
Events
Methods
Name
Description
_close
Session close handler. (inherited from
THttpSession
)
_destroy
Session destroy handler.
_gc
Session GC (garbage collection) handler. (inherited from
THttpSession
)
_open
Session open handler. (inherited from
THttpSession
)
_read
Session read handler.
_write
Session write handler.
add
Adds a session variable. (inherited from
THttpSession
)
addParsedObject
Processes an object that is created during parsing template. (inherited from
TComponent
)
attachEventHandler
Attaches an event handler to an event. (inherited from
TComponent
)
P
calculateKey
a safe cache key associated with the session variable name.
canGetProperty
Determines whether a property can be read. (inherited from
TComponent
)
canSetProperty
Determines whether a property can be set. (inherited from
TComponent
)
clear
Removes all session variables. (inherited from
THttpSession
)
close
Ends the current session and store session data. (inherited from
THttpSession
)
contains
whether there is the named session variable. (inherited from
THttpSession
)
count
Returns the number of items in the session. (inherited from
THttpSession
)
createdOnTemplate
This method is invoked after the component is instantiated by a template. (inherited from
TComponent
)
destroy
Destroys all data registered to a session. (inherited from
THttpSession
)
detachEventHandler
Detaches an existing event handler. (inherited from
TComponent
)
evaluateExpression
Evaluates a PHP expression in the context of this control. (inherited from
TComponent
)
evaluateStatements
Evaluates a list of PHP statements. (inherited from
TComponent
)
getEventHandlers
Returns the list of attached event handlers for an event. (inherited from
TComponent
)
getSubProperty
Evaluates a property path. (inherited from
TComponent
)
hasEvent
Determines whether an event is defined. (inherited from
TComponent
)
hasEventHandler
whether an event has been attached one or several handlers. (inherited from
TComponent
)
hasProperty
Determines whether a property is defined. (inherited from
TComponent
)
init
Initializes the module.
itemAt
Returns the session variable value with the session variable name. (inherited from
THttpSession
)
offsetExists
This method is required by the interface ArrayAccess. (inherited from
THttpSession
)
offsetGet
This method is required by the interface ArrayAccess. (inherited from
THttpSession
)
offsetSet
This method is required by the interface ArrayAccess. (inherited from
THttpSession
)
offsetUnset
This method is required by the interface ArrayAccess. (inherited from
THttpSession
)
open
Starts the session if it has not started yet. (inherited from
THttpSession
)
publishAsset
Publishes a private asset and gets its URL. (inherited from
TApplicationComponent
)
publishFilePath
Publishes a file or directory and returns its URL. (inherited from
TApplicationComponent
)
raiseEvent
Raises an event. (inherited from
TComponent
)
remove
Removes a session variable. (inherited from
THttpSession
)
setSubProperty
Sets a value to a property path. (inherited from
TComponent
)
toArray
the list of all session variables in array. (inherited from
THttpSession
)
Derived classes
Secured Loans
|
Pacotes Reveillon Salvador
|
Credit Cards
|
Watch Anime Free Online
|
Mortgage