Problems with errased sesion vars ?

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
jareeq
Posts: 22
Joined: Wed 15. Feb 2006, 21:49
Contact:

Problems with errased sesion vars ?

Post by jareeq »

Hi,

I sent that question because probably I know where is a problem but now I need to be sure.

My version of phpwcms is 1.2.8 realse 25.08.2006, php version is 5.1.4 and apache 2.0.55

It works fine on my own computer but after installation on some hosting provider server, strange things happed.
After login to phpwcms for about 5 to 10 seconds all is fine but after that period an when some link is clicked it returns me to the login page. After short investigation checklogin.php.inc was found :-), it look like my hosting provider changed default session configuration that it clears all variables that causes I’am redirected to login page. Unfortunately access to phpinfo() on this server is restricted so i realy don't know how session is configured. Of course i reported it to powder but i guess it take some time to "repair" this problem.

My questiion:

Is there any solution to avoid this problem ?
User avatar
Oliver Georgi
Site Admin
Posts: 9906
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

No - there is no solution.

I think your provider is one of the sort having too many customers on a machine. Or the system has not enough temporary space and so on. Or maybe session handling is not file based or whatever.

In your case db connections seems to be too slow. If it fails you will be kicked off the system. So you might change that login checking - but it's no good solution.

It's always better searching for another hosting company.

No phpinfo()... :shock:

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
jareeq
Posts: 22
Joined: Wed 15. Feb 2006, 21:49
Contact:

Post by jareeq »

Thanks Oliver,

in fact,

This hosting is upgrade of some old service on mine internet provider packet (it is integrated so I already pay for it), it looks like DB connection and overal speed of interface is very high but You have right - several times i'v receivied information about 'too many connections (using persistent an no-persistent connection) '.
My small site is still on other server, now im tring to constrain some modifications on this provider, it realy looks like paranoic behavior to deny access to phpinfo(), but it looks that:
http://www.ultor.kom.pl/info.php
jareeq
Posts: 22
Joined: Wed 15. Feb 2006, 21:49
Contact:

[SOLVED] Problems with errased sesion vars ?

Post by jareeq »

Some closing info :)

After several months situation is solved - like we suspected - problem was located on server side - no folder for session caching :) solution initiated by provider is not very sophisticated (and probably safe) but works, :)

new folder called 'temp' was created in root user www directory, session files are inside
Post Reply