Hello,
could you help me resolve the problem.
Some days ago I transfered to new shared hosting and yesterday there a problem appeared with login/logout or session (I don't know, i'm nube in sessions field).
Description of problem:
1. Login on index page.
2. Click any new image on index.
3. Click return to index from details.
4. Repeat some times 2-3
As result - I see myself as logouted on a some step (e.g. on index) and logined on some (e.g on another page).
Sometimes the browser exit/run again helps with the problem. In this case I still logined on each page.
Instead 2-4 you can simply reload index a few times after login - and status changes to logout.
Also sometimes it is need more then one click on logout link to real logout.
Could you help me? May be there some wrong server side settings?
Gallery:
http://gallery.imagemaster.ruLogin: test
Pass: test
(login link is "Войти" is the top link on left corner)
php (5.2.6):
http://gallery.imagemaster.ru/ phpinfo.php
remove space .................^...........Server works as mod_apache or Fast_CGI (the problem still in any mode).
.htaccess
#php_flag register_globals Off
#php_flag session.use_trans_sid off
SetEnv TZ Europe/Moscow
ErrorDocument 404 /
AddDefaultCharset windows-1251
# Begin search engine friendly links code
RewriteEngine On
#RewriteBase /
RewriteRule ^lightbox\.htm$ lightbox.php?%{QUERY_STRING}
RewriteRule ^lightbox\.([0-9]+)\.htm$ lightbox.php?page=$1&%{QUERY_STRING}
RewriteRule ^search\.htm$ search.php?%{QUERY_STRING}
RewriteRule ^search\.([0-9]+)\.htm$ search.php?page=$1&%{QUERY_STRING}
RewriteRule ^cat\.htm$ categories.php?%{QUERY_STRING}
RewriteRule ^cat([0-9]+)\.([0-9]+)\.htm$ categories.php?cat_id=$1&page=$2&%{QUERY_STRING}
RewriteRule ^cat([0-9]+)\.htm$ categories.php?cat_id=$1&%{QUERY_STRING}
RewriteRule ^img([0-9]+)\.htm$ details.php?image_id=$1&%{QUERY_STRING}
RewriteRule ^img([0-9]+)\.([a-zA-Z0-9]+)\.htm$ details.php?image_id=$1&mode=$2&%{QUERY_STRING}
RewriteRule ^postcard([a-zA-Z0-9]+)\.htm$ postcards.php?postcard_id=$1&%{QUERY_STRING}
RewriteRule ^postcard\.img([0-9]+)\.htm$ postcards.php?image_id=$1&%{QUERY_STRING}
RewriteRule ^author([0-9]+)\.htm$ member.php?action=showprofile&user_id=$1&%{QUERY_STRING}
# End search engine friendly links code
XBitHack full
#SecFilterScanPOST Off