Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 05:58 pm EST

Geeklog Forums

Timeout on Story Posting Page & libsecurity


Status: offline

Chase

Forum User
Regular Poster
Registered: 03/14/08
Posts: 110
Location:Karachi, Pakistan
is the timeout on story posting page linked with following function

function SEC_createToken($ttl = 1200)

if yes what does the 1200 translate into.


--
http://TazaKino.com - Pakistani News
Where YOU report the news
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
1200 seconds = 20 minutes.

bye, Dirk
 Quote

Status: offline

Chase

Forum User
Regular Poster
Registered: 03/14/08
Posts: 110
Location:Karachi, Pakistan
that means that the session should not expire before 20 minutes.

however in my case it expires well before that.

like 10 minutes.

What am i doing wrong.

--
http://TazaKino.com - Pakistani News
Where YOU report the news
 Quote

Status: offline

beewee

Forum User
Full Member
Registered: 08/05/03
Posts: 969
Location:The Netherlands, where else?
I´m also having a time out at 5-10 minutes... But I´m getting used to it, nothing´s perfect Wink
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
 Quote

Status: offline

Chase

Forum User
Regular Poster
Registered: 03/14/08
Posts: 110
Location:Karachi, Pakistan
but see its the nature of my site.

People login, then they tend to think what they want to write.
Once they start writing it can take then up to an hour to finish an aritcle.

They do that and end up on the login page that is like really frustrating.

So is there a particular function i can hack to fix this?


Right now i my site is really problematic to occasional user.


Any ideas what do i do? I have already set the ttl to 2400 and that is obviously not working


--
Added latter:
my users are story editors(they can publish their own stories). And they are getting logged landing on the login page.
--
http://TazaKino.com - Pakistani News
Where YOU report the news
 Quote

Status: offline

beewee

Forum User
Full Member
Registered: 08/05/03
Posts: 969
Location:The Netherlands, where else?
You could try the Autosave plugin, but that is not working 100% perfectly IMHO. I´m no developer, so I can´t help you any further.
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
 Quote

Status: offline

Chase

Forum User
Regular Poster
Registered: 03/14/08
Posts: 110
Location:Karachi, Pakistan
well autosave seems to be working fine. Problem happens when u hit the save button after autosave has been invoked once.
--
http://TazaKino.com - Pakistani News
Where YOU report the news
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by: Chase

that means that the session should not expire before 20 minutes.

however in my case it expires well before that.

like 10 minutes.


That shouldn't happen.

Just checking: Is it the session that expires (i.e. you have to log into the site again) or does the token expire (i.e. you lose the story content, but stay logged in)?

bye, Dirk
 Quote

Status: offline

Chase

Forum User
Regular Poster
Registered: 03/14/08
Posts: 110
Location:Karachi, Pakistan
i have given my users story admin privileges. So that they can publish their own stories.

In my case they are landing on the login page.
--
http://TazaKino.com - Pakistani News
Where YOU report the news
 Quote

Status: offline

1000ideen

Forum User
Full Member
Registered: 08/04/03
Posts: 1298
I`m having no problem using 2400 for 40 minutes with GL 1.5.1 or 1.6.0b1

I am not being logged out but I had to set the 'remember me' to a time other than "don`t".
 Quote

All times are EST. The time is now 05:58 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