Status: offline

Chase

Forum User
Regular Poster
Registered: 03/14/08
Posts: 110
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

Status: offline

Dirk

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

bye, Dirk

Status: offline

Chase

Forum User
Regular Poster
Registered: 03/14/08
Posts: 110
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

Status: offline

beewee

Forum User
Full Member
Registered: 08/05/03
Posts: 969
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

Status: offline

Chase

Forum User
Regular Poster
Registered: 03/14/08
Posts: 110
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

Status: offline

beewee

Forum User
Full Member
Registered: 08/05/03
Posts: 969
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

Status: offline

Chase

Forum User
Regular Poster
Registered: 03/14/08
Posts: 110
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

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
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

Status: offline

Chase

Forum User
Regular Poster
Registered: 03/14/08
Posts: 110
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

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".