- String getAttribute()
Usage: getAttribute ( $name )
Returns an attribute specified by the passed key
Parameters
- name $name - The key to search the attributes array for
@
Info
- Return:
the value of the found attribute
- Access:
public
- String[] getAttributeNames()
Usage: getAttributeNames ( )
Return an array of all of the attribute names in the Session
Parameters
Info
- Return:
An array of all the attribute names in the Session
- Access:
public
- String getCreationTime()
Usage: getCreationTime ( )
Returns the SERVER time that the session was created.
Parameters
Info
- Return:
Server time in a format
- Access:
public
- int getId()
Usage: getId ( )
Returns the ID of the current session
Parameters
Info
- Return:
The ID of the current session
- void invalidate()
Usage: invalidate ( )
Forces the deletion of the Session, which could potentially cripple some pages
Sets the SESSIONS array to a null array, deletes all session cookies, and kills session
Let's just say we are definately getting the job done.
Parameters
Info
- boolean isNew()
Usage: isNew ( )
Checks whether or not this is a new Session
Parameters
Info
- Return:
true iff the session is a new session
- Access:
public
- void removeAttribute()
Usage: removeAttribute ( $name )
Removes the value that resides at the specified key in the attributes array
Parameters
- name $name - The key to remove from the array
Info
- void setAttribute()
Usage: setAttribute ( $name, $value )
Sets the value of an attribute array to the passed value
Parameters
- name $name - The key to add to the array
@
- value $value - the value to add to the array
@
Info
- void __construct()
Usage: __construct ( )
Constructor
Do not call this directly, should be intialized using the
HttpRequest getSession() method to ensure it is only created once
Parameters
Info