Author Topic: asking for login & password again & again after page refresh  (Read 4861 times)

0 Members and 1 Guest are viewing this topic.

Offline dilkebol

  • Newbie
  • *
  • Posts: 34
    • View Profile
asking for login & password again & again after page refresh
« on: April 18, 2009, 07:20:58 AM »
Hello,

My site is shifted to new server before last 10-15 days.
The site is based on 4images gallery .
I am getting problem of auto-logout since the time of shifting site.
I tested same script in old server & never faced any issues of autologout. It's asking username & password after 5-10 times of page impressions.
I am sure that some server settings might be there,so I installed fresh script under new folder & new server ,but still the same problem i.e. prob is not with installation from my side or any script errors.(i installed it using fantastico)
It's not domain related issue it's happening to all my sites on new server.
Any clues ?

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: asking for login & password again & again after page refresh
« Reply #1 on: April 18, 2009, 11:07:38 PM »
hi dilkebol,

i would like to help you and visited your site from forum profile ;) but google don't have 4images running.
post your correct site
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline dilkebol

  • Newbie
  • *
  • Posts: 34
    • View Profile
Re: asking for login & password again & again after page refresh
« Reply #2 on: April 19, 2009, 11:58:58 AM »
Thanks for your help.
My host did some changes in .htaccess file & current;y not facing any issues
changes are as below
---
php_value register_globals on
php_value session.save_path /home/sasddds3/public_html/sessions
php_value session.gc_maxlifetime 360000
--

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: asking for login & password again & again after page refresh
« Reply #3 on: April 19, 2009, 12:03:45 PM »
Thank you for reporting back with this information
It was server side issue, specifically session.save_path
you can delete first line, as it doesn't affect 4images and only weaken security of your server ;)
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)