phpDocumentor GalleryCore
PHPUnit
[ class tree: GalleryCore ] [ index: GalleryCore ] [ all elements ]

Class: DeleteSessionsTaskTestSession

Source Location: /modules/core/test/phpunit/DeleteSessionsTaskTest.class

Class DeleteSessionsTaskTestSession

Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From GallerySession

GallerySession::$_authToken
GallerySession::$_cookieDomain
GallerySession::$_creationTime
GallerySession::$_doNotUseTempId
GallerySession::$_expirationLimit
GallerySession::$_forceSaveSession
GallerySession::$_isPersistent
GallerySession::$_isPersistentSessionAllowedForRequest
GallerySession::$_isPersistentSessionNew
GallerySession::$_isSearchEngineSession
GallerySession::$_isSessionSaved
GallerySession::$_isUsingCookies
GallerySession::$_loadedSessionData
GallerySession::$_modificationTime
GallerySession::$_remoteIdentifier
GallerySession::$_sessionData
GallerySession::$_sessionId
GallerySession::$_userId

Inherited From GallerySession

GallerySession::addToNavigation()
Start new navigation.
GallerySession::compareIdentifiers()
Compare two arrays and return score consisting of 1 point for each matching element.
GallerySession::doNotUseTempId()
Instruct the session to not return a pseudo temporary session id on getId() calls Makes sure that the URL generator and other componennts don't use a pseudo session id for guest users without a real session. Call this method before starting to output immediate views the progress bar.
GallerySession::exists()
Check to see if a value exists in the session.
GallerySession::get()
Get a value from the session data.
GallerySession::getAuthToken()
Returns the authentication token associated with this session.
GallerySession::getCookieDomain()
GallerySession::getCreationTime()
Return the Unix timestamp from when this session was created.
GallerySession::getId()
The session id.
GallerySession::getKey()
The session key parameter used in URLs and the cookie.
GallerySession::getModificationTime()
Return the Unix timestamp from when this session was last modified.
GallerySession::getNavigation()
Get data for a specific navigation id.
GallerySession::getRemoteIdentifier()
Return a value that we can use to identify the client. We can't tie it to the IP address because that changes too frequently (dialup users, users behind proxies) so we have to be creative. Changing this algorithm will cause all existing sessions to be discarded.
GallerySession::getSessionId()
Return the session id.
GallerySession::getStatus()
Get a status message.
GallerySession::getUserId()
Return the user id of the active user of this sesison.
GallerySession::hasSiteAdminSessionExpired()
Check if the site admininstration session timeout has expired
GallerySession::init()
Either create a new session, or attach to an existing one.
GallerySession::initEmpty()
Set a new/unused sessionid.
GallerySession::isCorrectAuthToken()
Checks the given authentication token and resets the internal token on failure.
GallerySession::isPersistent()
Whether this session is a persistent session (= stored on the server) or just a session for this single request. Note that a non-persistent session can become persistent at the end of the request when we evaluate the conditions whether to create a persistent session or not.
GallerySession::isSearchEngineSession()
Return true if this session is identified as one coming from a search engine.
GallerySession::isUsingCookies()
Is this transaction known to be using cookies?
GallerySession::jumpNavigation()
Jump back from one navigation point to one of its predecessors.
GallerySession::put()
Store a value in the session.
GallerySession::putStatus()
Store a status message.
GallerySession::regenerate()
Regenerate the session id to prevent a session fixation attack by a hostile website.
GallerySession::remove()
Remove a value from the session.
GallerySession::replaceSessionIdInData()
Replaces the session id in all string members of an object or in all elements of an array.
GallerySession::replaceTempSessionIdIfNecessary()
If we started this request without a sessionId, then we used SESSION_TEMP_ID in all generated
GallerySession::reset()
Clean/remove and reinitialize a session.
GallerySession::save()
Save any session changes to the store. Does not save sessions that don't have a sessionId yet. Triggers the expiration of existing persistent sessions in 2% of all calls.
GallerySession::setUserId()
Set the active user id for this session.
GallerySession::start()
Start session by ensuring we've got a valid, unique sessionId and send cookie if necessary.
GallerySession::_acquireNewPersistentSession()
Acquire a new persistent session and guarantee we've got a valid, unqiue sessionId.
GallerySession::_emptySessionData()
Get rid of all session data.
GallerySession::_expireSessions()
Get rid of any sessions that have not been accessed within our inactivity timeout or have exceeded the max lifetime.
GallerySession::_getSerializedSession()
Get the serialized session for comparing purposes.
GallerySession::_isHttps()
Determine if the request is using the HTTPS protocol.
GallerySession::_isPersistentSessionAllowedForRequest()
Whether this controller/view request generally allows creating a session.
GallerySession::_isPersistentSessionRequired()
Check whether this session should be persistent or not.
GallerySession::_loadSessionData()
Load the session data or generate a new session with new data. Also sets $this->_isPersistent to true if loaded from persistent store.
GallerySession::_setCookie()
Send back a cookie to the browser.

[ Top ]
Method Summary
void   save()  
void   _expireSessions()  

[ Top ]
Methods
save  [line 133]

  void save( [ $useNonTransactionalConnection = false]  )

Parameters:
   $useNonTransactionalConnection: 


Redefinition of:
GallerySession::save()
Save any session changes to the store. Does not save sessions that don't have a sessionId yet. Triggers the expiration of existing persistent sessions in 2% of all calls.

[ Top ]
_expireSessions  [line 128]

  void _expireSessions( )



Redefinition of:
GallerySession::_expireSessions()
Get rid of any sessions that have not been accessed within our inactivity timeout or have exceeded the max lifetime.

[ Top ]

Documentation generated on Fri, 08 Oct 2010 04:47:17 -0700 by phpDocumentor 1.3.0RC6