Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

Can't stay logged in.
https://www.tinywebgallery.com/forum/viewtopic.php?f=10&t=1830
Page 1 of 1

Author:  Burger [ 26. Jan 2009, 17:33 ]
Post subject:  Can't stay logged in.

New install of TWG on Linux Server.

The admin and other users cannot stay logged in...

Example, log in, go to config page... everything there except the cache panel is showing the admin log in screen. Hit refresh, everything draws or you get shown the admin log in panel.

Make a config change and get shown the admin log in panel. Hit refresh and still logged in...

Same odd behaviour is happening to front end log ins too.

No errors in the debug file.

Same problem in Firefox or IE7

I have TWG running on another server and have no such problems with the same browsers.

Please help.

Thanks,

Dave.

Author:  TinyWebGallery [ 27. Jan 2009, 06:06 ]
Post subject: 

check the session save path on the server where you have the problem.

- Michael

Author:  Burger [ 27. Jan 2009, 12:48 ]
Post subject: 

Hi Michael,

Thanks for the reply. After reading here I'd already checked that...

it is set as /var/lib/php/session

Please keep in mind I do not get any errors in the debug file.

On the server where I don't have problems it is set as

/tmp

Both these servers are with the same ISP.

It does work though, I can log in. Sometimes though it seems to forget I am logged in.

Regards,

Author:  Burger [ 27. Jan 2009, 15:16 ]
Post subject: 

FIXED!

Even though I wasn't getting any errors in the debug files I also thought this might have something to do with the session save path. Unfortunately I'm on a shared server with my host, but I've overidden the path above with a .htaccess file in the root of the gallery.

Works like a champ now.

Thanks,

Dave.

Author:  TinyWebGallery [ 28. Jan 2009, 02:56 ]
Post subject: 

excellent.

- Michael

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/