Since changing to rg=0 we make extensive use of $_SESSION and $HTTP_SESSION_VARS...
authorjmunro <jmunro@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 6 Oct 2002 23:43:02 +0000 (23:43 +0000)
committerjmunro <jmunro@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 6 Oct 2002 23:43:02 +0000 (23:43 +0000)
commitd7c82551df7a28530139681c44a283836be6b6fc
tree86253f4293d4310a679acda2377bff1167029a91
parent7e818af01688ddff09d0fbc310b112d04270f94e
Since changing to rg=0 we make extensive use of $_SESSION and $HTTP_SESSION_VARS. Because of this session_register, session_unregister, and session_is_registered should NOT be used (see the PHP manual at php.net). They are buggy over different PHP versions anyway. Now when changing a session var using the custom 'sq' version of these functions (all located in global.php) the superglobal array is accessed directly. This fixes the problem with corrupted objects in the session. Tested with 4.1.2 rg=0 and 1.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3782 7612ce4b-ef26-0410-bec9-ea0150e637f0
functions/auth.php
functions/global.php
functions/imap_messages.php
functions/prefs.php
src/compose.php
src/redirect.php
src/right_main.php
themes/random.php