> Like I said, I compiled with --enable-track-vars and 
> --enable-trans-sid. AND the SID propagates, but I cant seem 
> to get anything written into the session files. So any 
> variables I register, do NOT propaget. But the SID does. Do 
> you get my point? 
> When using cookies, all variables registered are written into 
> its corresponding sess_* file in /tmp (standard setup with 
> file storage for session data). But this particular process 
> fails when the user don't allow cookies.
> 
> I checked the session.use_trans_sid, and it IS enabled (set to 1).
> Still clueless... :-) Anything more to try out?

The cookie is only used to propagate the session id.

If your session vars are not registered it may be a permission problem.

Whatever the client cookies configuration it does *not* affect you server
settings.

if you try

a.php

session_start();
$var = 1;
session_register('var');
echo '<a href="b.php?' . SID . '">b.php</a>

b.php

session_start();
echo $HTTP_SESSION_VARS['var'];

Adapt the code a bit, i just wrote it from the top of my head.

If b.php prints 1 then your session works.

Put Error_reporting to E_ALL, you may see a permission warning on the
session.
 
> All the best,
> 
>     Eivind :-)
> 
> 
> 
> 
> 
> -- 
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to