• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CI session expires rapidly

#16
[eluser]Molchy[/eluser]
[quote author="joao.sobrinho" date="1268663999"][quote author="Denis Molan" date="1268662646"][quote author="joao.sobrinho" date="1268662178"]I've tried everything I can remember and it's not solved yet...

don't know where to look anymore.[/quote]

I had same problem, try every solution on this forum:
- Expending session expire time
- Usage of session DB
- Check IE cookie
- ...

On the end i used Native Session library and it works as it should ...
Usage is the is the same as CI Session , only difference is:
session->sess_destroy() in CI lib. and in Native lib. session->destroy , but still you can change that as i did Big Grin that is same as in CI Wink ...

So don't loose time and use Native Session lib.[/quote]


Hi.

Where do I find that class to replace the current one ?


- Expending session expire time I didn't tried this yet, because users don't usually get to 20 minutes of using the session...
- Usage of session DB Due to the nature of the application, I need to use the DB to store the session data.
- Check IE cookie happens in every browser.

In the development environment it seems quite ok. the sessions last for a good time, but they don't behave right... sometimes after 20 minutes or 1h or 2h (ramdomly) it quits... In the real environment, users claim that sometimes they don't even have time to make 2 or 3 clicks...[/quote]

I read what you posted and just wanna warn you that Native Session lib. doesn't use DB. You can modify it to use DB.


Native session lib. link:
http://codeigniter.com/wiki/Native_session/


Messages In This Thread
CI session expires rapidly - by El Forum - 01-09-2010, 03:01 PM
CI session expires rapidly - by El Forum - 01-09-2010, 03:19 PM
CI session expires rapidly - by El Forum - 01-09-2010, 03:23 PM
CI session expires rapidly - by El Forum - 01-09-2010, 03:58 PM
CI session expires rapidly - by El Forum - 01-09-2010, 04:36 PM
CI session expires rapidly - by El Forum - 01-10-2010, 03:16 AM
CI session expires rapidly - by El Forum - 03-01-2010, 06:51 AM
CI session expires rapidly - by El Forum - 03-01-2010, 09:18 AM
CI session expires rapidly - by El Forum - 03-02-2010, 05:20 AM
CI session expires rapidly - by El Forum - 03-04-2010, 08:48 AM
CI session expires rapidly - by El Forum - 03-15-2010, 01:46 AM
CI session expires rapidly - by El Forum - 03-15-2010, 03:09 AM
CI session expires rapidly - by El Forum - 03-15-2010, 03:17 AM
CI session expires rapidly - by El Forum - 03-15-2010, 03:29 AM
CI session expires rapidly - by El Forum - 03-15-2010, 03:39 AM
CI session expires rapidly - by El Forum - 03-15-2010, 03:44 AM
CI session expires rapidly - by El Forum - 03-16-2010, 04:26 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.