Posted on: 07/02/08 08:20am
By: Chase
guys let me know what i need to do here.
the permant and session time are both se to 8hours.
still times while i am writing the session and soon as i hit the submit button it goes to the main page. as anonyumous user.
Re: Session timing out too Quickly (after migration to 1.5.0)
Posted on: 07/03/08 06:21pm
By: mst3kroqs
Quote by: Chaseguys let me know what i need to do here.
the permant and session time are both se to 8hours.
still times while i am writing the session and soon as i hit the submit button it goes to the main page. as anonyumous user.
In Configuration->Miscellaneous, set 'Cookie Domain' to the URL of your site, without the leading http://, eg. 'www.mysite.com'. FYI - in 1.4.1, this is the 'cookiedomain' variable in config.php.
Dirk -
This might be a candidate for a FAQ item.
-m
Re: Session timing out too Quickly (after migration to 1.5.0)
Posted on: 07/04/08 02:24am
By: Chase
does it matter if i just use domain.com as oppose to www.domain.com
Re: Session timing out too Quickly (after migration to 1.5.0)
Posted on: 07/04/08 02:51am
By: Dirk
If "Cookie Domain" is empty, Geeklog will set it automatically (internally). So I don't think that's the problem.
According to the original cookie specification, the Cookie Domain needs to contain at least 2 dots, so for www.example.com, it should be .example.com
bye, Dirk
Re: Session timing out too Quickly (after migration to 1.5.0)
Posted on: 07/04/08 05:14am
By: Chase
good point,
this means that the site url must also be www.domain.com
otherise it wont work? Am i correct?
Chase
Re: Session timing out too Quickly (after migration to 1.5.0)
Posted on: 07/04/08 05:28am
By: Dirk
'www.example.com' would create cookies that are only valid for that domain. They won't work when you call up your site as http://example.com
Using '.example.com' would solve that, but the cookies created like that would also be valid for, say, "blah.example.com".
Geeklog uses '.example.com' when you leave the "Cookie Domain" setting empty.
bye, Dirk
Re: Session timing out too Quickly (after migration to 1.5.0)
Posted on: 07/04/08 12:31pm
By: mst3kroqs
Quote by: DirkIf "Cookie Domain" is empty, Geeklog will set it automatically (internally). So I don't think that's the problem.
According to the original cookie specification, the Cookie Domain needs to contain at least 2 dots, so for www.example.com, it should be .example.com
bye, Dirk
If it is not the problem, then I'm wondering why this approach tends to fix the problem every time. Therefore, while it may not be the problem, it appears to be the solution. Also - you're right, this is how I have it set on my site, apologies for the wrong detail in the suggestion.
Re: Session timing out too Quickly (after migration to 1.5.0)
Posted on: 07/04/08 03:40pm
By: Chase
problem still exisits
all you need to do is login. click on contribute or post new link
type something and then wait for 10 minutes.
after that when you press submit. It will take you to the index page.
You will not get the message saying story saved. And you will
find yourself logged out.
right now my cookie domain =www.tazakino.com
and my site url=www.tazakino.com
cookieip=false
cookie path=/
what else can i provide you to debug?
This causing major issues at my end for my users.
Re: Session timing out too Quickly (after migration to 1.5.0)
Posted on: 07/04/08 04:01pm
By: Dirk
What do you have for the cookie timeouts? Permanent Timeout and Session Timeout.
bye, Dirk
Re: Session timing out too Quickly (after migration to 1.5.0)
Posted on: 07/04/08 04:04pm
By: Chase
permanet :28800
session:14400
Re: Session timing out too Quickly (after migration to 1.5.0)
Posted on: 07/05/08 12:28am
By: Chase
ok did some more testing
bascially it is the general system behaviour
if a user logs and does noting for say round 5-10 mins
and clicks on any link he get thrown out.
Re: Session timing out too Quickly (after migration to 1.5.0)
Posted on: 07/05/08 02:19pm
By: Chase