Welcome to Geeklog, Anonymous Monday, November 25 2024 @ 10:55 pm EST
Geeklog Forums
Session timing out too Quickly (after migration to 1.5.0)
Status: offline
Chase
Forum User
Regular Poster
Registered: 03/14/08
Posts: 110
Location:Karachi, Pakistan
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.
--
http://TazaKino.com - Pakistani News
Where YOU report the news
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.
--
http://TazaKino.com - Pakistani News
Where YOU report the news
16
14
Quote
Status: offline
mst3kroqs
Forum User
Regular Poster
Registered: 10/18/05
Posts: 78
Location:Cary, NC USA
Quote by: Chase
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.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.
Dirk -
This might be a candidate for a FAQ item.
-m
14
11
Quote
Status: offline
Chase
Forum User
Regular Poster
Registered: 03/14/08
Posts: 110
Location:Karachi, Pakistan
does it matter if i just use domain.com as oppose to www.domain.com
--
http://TazaKino.com - Pakistani News
Where YOU report the news
--
http://TazaKino.com - Pakistani News
Where YOU report the news
16
11
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
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
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
14
15
Quote
Status: offline
Chase
Forum User
Regular Poster
Registered: 03/14/08
Posts: 110
Location:Karachi, Pakistan
good point,
this means that the site url must also be www.domain.com
otherise it wont work? Am i correct?
Chase
--
http://TazaKino.com - Pakistani News
Where YOU report the news
this means that the site url must also be www.domain.com
otherise it wont work? Am i correct?
Chase
--
http://TazaKino.com - Pakistani News
Where YOU report the news
12
14
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
'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
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
13
14
Quote
Status: offline
mst3kroqs
Forum User
Regular Poster
Registered: 10/18/05
Posts: 78
Location:Cary, NC USA
Quote by: 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. 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
15
13
Quote
Status: offline
Chase
Forum User
Regular Poster
Registered: 03/14/08
Posts: 110
Location:Karachi, Pakistan
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.
--
http://TazaKino.com - Pakistani News
Where YOU report the news
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.
--
http://TazaKino.com - Pakistani News
Where YOU report the news
18
12
Quote
Status: offline
Chase
Forum User
Regular Poster
Registered: 03/14/08
Posts: 110
Location:Karachi, Pakistan
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.
--
http://TazaKino.com - Pakistani News
Where YOU report the news
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.
--
http://TazaKino.com - Pakistani News
Where YOU report the news
16
15
Quote
Status: offline
Chase
Forum User
Regular Poster
Registered: 03/14/08
Posts: 110
Location:Karachi, Pakistan
problem solved
http://www.geeklog.net/forum/viewtopic.php?showtopic=83565
--
http://TazaKino.com - Pakistani News
Where YOU report the news
15
14
Quote
All times are EST. The time is now 10:55 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content