From eb105693b83c2a74df11ffcf1bcb5ec8c445c256 Mon Sep 17 00:00:00 2001 From: "Thies C. Arntzen" Date: Sat, 27 Apr 2002 14:07:52 +0000 Subject: @ - 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) --- ext/session/php_session.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ext/session/php_session.h') 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) -- cgit v1.2.1