FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Installation Issues » Once again about cookies
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Once again about cookies [message #30443] Sat, 25 February 2006 23:35 Go to next message
dron is currently offline  dron   Russian Federation
Messages: 3
Registered: February 2006
Location: Russia
Karma: 0
Junior Member

I cant force fud to accept the session using forum_login.php. On localhost it is working fine. I read threads on this forum but still having trouble.
URL for my login page is http://magazinbt.ru/login
and for forum is http://magazinbt.ru/forum
Account: test test
Also even if user login again via native loginpage session is lost after some time surfing
My GLOBALS.php is
$COOKIE_PATH = "/forum/";
$COOKIE_TIMEOUT = 604800;
$SESSION_TIMEOUT = 1800;
$COOKIE_DOMAIN = ".magazinbt.ru";
$COOKIE_NAME = "fud_session_1140895640";
Any ideas?
Re: Once again about cookies [message #30449 is a reply to message #30443] Sun, 26 February 2006 05:49 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Have you checked if a cookie is being set?

FUDforum Core Developer
Re: Once again about cookies [message #30459 is a reply to message #30443] Mon, 27 February 2006 00:08 Go to previous messageGo to next message
dron is currently offline  dron   Russian Federation
Messages: 3
Registered: February 2006
Location: Russia
Karma: 0
Junior Member

Yes, cookie is set. I turnoff session url for sure. And forexample when I locate on page http://magazinbt.ru/forum/index.php?t=selmsg&&frm_id=0&sub_foru m_limit=1 and then type in same browser instance url http://magazinbt.ru/forum I get logout
Re: Once again about cookies [message #30469 is a reply to message #30459] Mon, 27 February 2006 14:21 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
When you are using the login script, is it being ran from the same domain?

FUDforum Core Developer
Re: Once again about cookies [message #30483 is a reply to message #30443] Mon, 27 February 2006 20:50 Go to previous messageGo to next message
dron is currently offline  dron   Russian Federation
Messages: 3
Registered: February 2006
Location: Russia
Karma: 0
Junior Member

Yes, it is. I run login script from http://magazinbt.ru/login and then we get to http://magazinbt.ru/forum/ - it is the same domain.
Re: Once again about cookies [message #30503 is a reply to message #30483] Tue, 28 February 2006 14:31 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
The problem could be that the cookie sets the path to /forum/ and the login page is /login. Try changing the cookie path to /.

FUDforum Core Developer
Re: Once again about cookies [message #32513 is a reply to message #30483] Thu, 06 July 2006 13:57 Go to previous message
Valentin X is currently offline  Valentin X   Russian Federation
Messages: 1
Registered: July 2006
Location: Russia
Karma: 0
Junior Member
dron wrote on Mon, 27 February 2006 15:50

Yes, it is. I run login script from http://magazinbt.ru/login and then we get to http://forum.magazinbt.ru/ - it is the same domain.


Hi Dron see this forum http://forum.metra.ru. I want know you opinion.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Problems while installing
Next Topic: Installation Error
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Oct 20 18:56:12 GMT 2024

Total time taken to generate the page: 0.02060 seconds