Hey, and thanks for you answer.

> Actually:
>
>This is due to each site using the same set of cookies (more 
>importantly, the PHPSESSIONID cookie).

Thanks! Now that you said it it seems obvious ;-). I knew that the cause would 
be something stupid, but that ... 

>You can get around this by:
>
> - Having each user use a separate session_name() (kind of tedious)
>
>  - Using URL's to pass the session id between script page requests (doesn't 
> look that pretty)
>
>  - Use the session_set_cookie_params() function to set the allowed path for 
> the session cookie for each user to '~/username' so the cookies PHP sessions 
> use won't overlap between the users. (probably the best option here)
>

Maybe its just because i slept poorly, but how could i implemant the last 
solution without having to add that function to each php-app/-file manually? I 
cant count on the users to do that. 

Or is my solution "one php.ini per user" by 
<Location /user>
suPHP_ConfigPath /home/user
</Location> 
for each user already a "good" way to solve that? In php.ini i can set 
session.cookie_path='/user' too.

Thanks and Greets,
Big D
-- 
NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!                          
        
Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a

_______________________________________________
suPHP mailing list
[email protected]
https://lists.marsching.com/mailman/listinfo/suphp

Reply via email to