Koozali.org: home of the SME Server

Please help: simultan PHP-sessions fail on SME

Toby

Please help: simultan PHP-sessions fail on SME
« on: November 27, 2002, 03:23:25 PM »
Hi,

I hope somebody can help me with this, since it´s driving me nuts for a couple of days now:

I am using SME 5.5 and created an ibay with PHP enabled, connected to MySQL.

when I login to any PHP-application in this ibay and connect to a second one from the same client (same browser, new window), my first session gets dropped, telling me I am not logged in any more - this only happens to me for PHP-applications installed on SME!

I tried it with different ibays (one for each PHP-application) but it also fails... I also tried it with different PHP-applications (for example squirrelmail in one ibay and webcal in second ibay).

If anybody could point me the right way, I would be more than happy :)

TIA - Toby

guestHH

Re: Please help: simultan PHP-sessions fail on SME
« Reply #1 on: November 28, 2002, 08:53:12 AM »
Hi,

Take a look at your /etc/php.ini file.

What does the value 'register_globals' tell you? If it's off try to set it to on.
Restart httpd.

If it helps, make sure you create a custom template fot that.


Regards,
guestHH

guestHH

Re: Please help: simultan PHP-sessions fail on SME
« Reply #2 on: November 29, 2002, 01:40:29 AM »
and...?

Toby

Re: Please help: simultan PHP-sessions fail on SME
« Reply #3 on: November 29, 2002, 04:42:53 AM »
Hi RequestedDeletion,

thanx for your help and sorry for the delay... I just looked at the php.ini, but register_globals was set to on - any other idea?

TIA Tobias