From 20190c966d81f832078065c8e6ff2d44d0183330 Mon Sep 17 00:00:00 2001 From: Andrei Zmievski Date: Sat, 4 Dec 1999 17:02:04 +0000 Subject: Session variables now obey track_vars and gpc_globals settings. If track_vars is on then decoded variables appear in $HTTP_STATE_VARS array. If gpc_globals is on, then session vars are decoded into global variables. If both are on, then globals and $HTTP_STATE_VARS contents are references to each other. The /decoder functions now just need to call php_set_session_var() this behavior. @ -Session vars are now decoded into $HTTP_STATE_VARS[] array and the @ globals, depending on track_vars and gpc_globals settings (Andrei) # Encoding source is currently only globals. We may want to change this # in the future. --- ext/session/php_session.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/session/php_session.h') diff --git a/ext/session/php_session.h b/ext/session/php_session.h index bc21a15023..d0a42a25b6 100644 --- a/ext/session/php_session.h +++ b/ext/session/php_session.h @@ -90,6 +90,7 @@ typedef struct { int gc_maxlifetime; int module_number; const struct ps_serializer_struct *serializer; + zval *http_state_vars; } php_ps_globals; extern zend_module_entry session_module_entry; -- cgit v1.2.1