16 Jan
2008
16 Jan
'08
11:19 p.m.
On Wed, 16 Jan 2008 15:04:03 -0500 "Moshe Weitzman" <weitzman@tejasa.com> wrote:
If people find it a good idea to be able to get $user->sid even for not authenticated users... I don't mind about the implementation ;) If people think it is a bad idea, I'd like to know why.
i can't make out what your proposal is. please post a patch.
Index: session.inc =================================================================== --- session.inc (revisione 419) +++ session.inc (copia locale) @@ -48,6 +48,7 @@ else { $session = isset($user->session) ? $user->session : ''; $user = drupal_anonymous_user($session); + $user->sid=session_id(); } return $user->session; -- Ivan Sergio Borgonovo http://www.webthatworks.it