This topic is locked

Multiple Users not working properly

9/4/2007 11:33:37 AM
PHPRunner General questions
J
jef3966 author

When I am logged in viewing data, if someone else logs into the site, then my login name changes to the person the last logged in. It seems as if everyone is getting the same session information. Please help! I have been playing with this product and think that it is wonderful. I am purchasing it this week, but need to verify that it will do multiple sessions.

J
jomppa10 9/4/2007

Hi,
I have a similar problem. When I first log in with admin rights (full rights to add, delete etc.) and then someone logs in having only viewing rights something weird is taking place:
my admin rights are changed to viewing rights and I cannot add, delete or do anything. What happens is that login page appears with a message: Your session has expired. Please login again.
secondly: when I try to view records everything seems to be ok but when I come back to list page the id of the logged person has changed to the person that has logged in after me.

The server is localhost. Phpr 4.1 build 300.

Pls help asap.
Best regards
Jouni I

Sergey Kornilov admin 9/4/2007

It looks like PHP session is not configured properly.
John and Jouni, you can post your applications to Demo Account and contact me at support@xlinesoft.com.

J
jomppa10 9/5/2007

It looks like PHP session is not configured properly.

John and Jouni, you can post your applications to Demo Account and contact me at support@xlinesoft.com.


Hi,
thanks Sergey. I set the session_auto_start to 1 (0 by default in the php.ini file of Xampp for windows). (Be extra careful if you are using Xampp in a production environment.)
My problem seems to be solved but is this a correct way since dbcommon.php has already the session_start() clause.
regards
Jouni I

Alexey admin 9/5/2007

Jouni,
I don't think this is a right solution.

You need to set up sessions properly.

I.e. as described here:

http://www.webcheatsheet.com/php/install_a...gure.php#create
PHPRunner-created pages work with any session_auto_start setting.