Hey Big D,
Unfortunately the solutions I presented due require your users to add
those things to their own PHP scripts.
The one php.ini per user method you proposed may (I think the Location
directive needs /~user not /user) work, however, but unfortunately it'll
clutter up your httpd.conf :-/
Joe
On 03/30/2012 05:23 AM, [email protected] wrote:
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
_______________________________________________
suPHP mailing list
[email protected]
https://lists.marsching.com/mailman/listinfo/suphp