|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.quercus.module.AbstractQuercusModule
com.caucho.quercus.lib.session.SessionModule
public class SessionModule
Quercus session handling
| Field Summary |
|---|
| Fields inherited from class com.caucho.quercus.module.AbstractQuercusModule |
|---|
PHP_INI_ALL, PHP_INI_PERDIR, PHP_INI_SYSTEM, PHP_INI_USER |
| Constructor Summary | |
|---|---|
SessionModule()
|
|
| Method Summary | |
|---|---|
IniDefinitions |
getIniDefinitions()
Returns the default php.ini values. |
java.lang.String[] |
getLoadedExtensions()
Returns the extensions loaded by the module. |
Value |
session_cache_expire(Env env,
Value newValue)
|
Value |
session_cache_limiter(Env env,
java.lang.String newValue)
Returns and/or sets the value of session.cache_limiter, affecting the cache related headers that are sent as a result of a call to session_start(Env). |
static Value |
session_commit(Env env)
Alias of session_write_close. |
static boolean |
session_decode(Env env,
StringValue value)
Encodes the session values. |
static boolean |
session_destroy(Env env)
Destroys the session |
static java.lang.String |
session_encode(Env env)
Encodes the session values. |
static ArrayValue |
session_get_cookie_params(Env env)
Returns the session cookie parameters |
static java.lang.String |
session_id(Env env,
java.lang.String id)
Returns the session id |
static boolean |
session_is_registered(Env env,
java.lang.String name)
Returns true if a session variable is registered. |
Value |
session_module_name(Env env,
java.lang.String newValue)
Returns the object's class name |
Value |
session_name(Env env,
java.lang.String newValue)
Returns the object's class name |
static boolean |
session_regenerate_id(Env env,
boolean deleteOld)
Regenerates the session id. |
boolean |
session_register(Env env,
Value[] values)
Registers global variables in the session. |
Value |
session_save_path(Env env,
java.lang.String newValue)
Returns the session's save path |
Value |
session_set_cookie_params(Env env,
long lifetime,
Value path,
Value domain,
Value secure)
Sets the session cookie parameters |
boolean |
session_set_save_handler(Env env,
Callback open,
Callback close,
Callback read,
Callback write,
Callback directory,
Callback gc)
Sets the session save handler |
static boolean |
session_start(Env env)
Start the session |
boolean |
session_unregister(Env env,
Value key)
Unsets the specified session values |
Value |
session_unset(Env env)
Unsets the session values |
static Value |
session_write_close(Env env)
Writes the session and closes it. |
void |
startup(Env env)
|
| Methods inherited from class com.caucho.quercus.module.AbstractQuercusModule |
|---|
getConstMap |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.caucho.quercus.module.QuercusModule |
|---|
getConstMap |
| Constructor Detail |
|---|
public SessionModule()
| Method Detail |
|---|
public IniDefinitions getIniDefinitions()
getIniDefinitions in interface QuercusModulegetIniDefinitions in class AbstractQuercusModulepublic java.lang.String[] getLoadedExtensions()
AbstractQuercusModule
getLoadedExtensions in interface QuercusModulegetLoadedExtensions in class AbstractQuercusModulepublic void startup(Env env)
startup in interface ModuleStartupListener
public Value session_cache_limiter(Env env,
java.lang.String newValue)
session_start(Env).
If the optional parameter is not supplied, this function simply returns the existing value.
If the optional parameter is supplied, the returned value
is the old value that was set before the new value is applied.
Valid values are "nocache" (the default), "private", "private_no_expire",
and "public". If a value other than these values is supplied, then a warning is produced
and no cache related headers will be sent to the client.
public Value session_cache_expire(Env env,
Value newValue)
public static Value session_commit(Env env)
public static boolean session_decode(Env env,
StringValue value)
public static java.lang.String session_encode(Env env)
public static boolean session_destroy(Env env)
public static ArrayValue session_get_cookie_params(Env env)
public static java.lang.String session_id(Env env,
java.lang.String id)
public static boolean session_is_registered(Env env,
java.lang.String name)
public Value session_module_name(Env env,
java.lang.String newValue)
public Value session_name(Env env,
java.lang.String newValue)
public static boolean session_regenerate_id(Env env,
boolean deleteOld)
public boolean session_register(Env env,
Value[] values)
public Value session_save_path(Env env,
java.lang.String newValue)
public Value session_set_cookie_params(Env env,
long lifetime,
Value path,
Value domain,
Value secure)
public boolean session_set_save_handler(Env env,
Callback open,
Callback close,
Callback read,
Callback write,
Callback directory,
Callback gc)
public static boolean session_start(Env env)
public boolean session_unregister(Env env,
Value key)
public Value session_unset(Env env)
public static Value session_write_close(Env env)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||