diff options
author | Thies C. Arntzen <thies@php.net> | 2002-04-27 14:07:52 +0000 |
---|---|---|
committer | Thies C. Arntzen <thies@php.net> | 2002-04-27 14:07:52 +0000 |
commit | eb105693b83c2a74df11ffcf1bcb5ec8c445c256 (patch) | |
tree | a1107644394e6a6ddb63af81f9efcfe1b6cbff44 /ext/session/php_session.h | |
parent | 22182fc78d9e1fb239978a6deba8331c6e78c412 (diff) | |
download | php-git-eb105693b83c2a74df11ffcf1bcb5ec8c445c256.tar.gz |
@ - added session_set_userdata() which enables you to specify one variable
@ that will be kept in the browser in addition to the session-id. This
@ only works when using trans-sid sessions (no cookie). (thies)
Diffstat (limited to 'ext/session/php_session.h')
-rw-r--r-- | ext/session/php_session.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/session/php_session.h b/ext/session/php_session.h index ed54dd4da5..3ccbeef80d 100644 --- a/ext/session/php_session.h +++ b/ext/session/php_session.h @@ -93,6 +93,8 @@ typedef struct _php_ps_globals { char *save_path; char *session_name; char *id; + char *udata_name; + char *udata_value; char *extern_referer_chk; char *entropy_file; char *cache_limiter; @@ -141,6 +143,7 @@ PHP_FUNCTION(session_cache_limiter); PHP_FUNCTION(session_set_cookie_params); PHP_FUNCTION(session_get_cookie_params); PHP_FUNCTION(session_write_close); +PHP_FUNCTION(session_set_userdata); #ifdef ZTS #define PS(v) TSRMG(ps_globals_id, php_ps_globals *, v) |