• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Session (ci, native, db, what ?)

#1
[eluser]sikkle[/eluser]
Hi,

This thread will maybe help some newbie like me Smile

Lately i take time to read barely 90% of the documentation, UserGuide, Wiki etc.

This will apear weird but something keep being "mysterious" to me.

SESSION.

Quote:PHPSession:
PHPSession utilizes PHP’s native session capabilities. PHPSession is loaded and used as a separate library, rather than replacing CodeIgniter’s Session class. It offers ‘flash’ session variables, and offers its own (very simple) api.

Native Session:
Native Session utilizes PHP’s native session capabilities. Unlike PHPSession, Native Session offers the same methods as CodeIgniter’s Session class, and is designed as a drop-in replacement. Native Session also extends the Session API to support ‘flash’ session variables and manually regenerating the session id.

DB Session
DB Session generates its own cookies and stores all session variables in a database, eschewing PHP’s native session facility. DB session is compatible with CI’s session api, and is designed as a drop-in replacement. DB Session supports ‘flash’ session variables.

OB Session
OB Session stores data either client-side in the cookie or server-side in a database table. It does not use PHP’s native session mechanism. Designed as a drop-in replacement for CodeIgniter’s session class. Easily configure non-persistent sessions, session timeouts and session auto regeneration. Supports ‘flash’ session variables and manual regeneration of the session id.

I understand for anyone who got enough skill, those explanation is enough.

i'm still not able to understand what is the best to use if you control 100% of your dedicated server.

I'll be happy to listen what solution people use, and more WHY ! Smile

Thanks a lot for people who taking time to give a minute for this.


Messages In This Thread
Session (ci, native, db, what ?) - by El Forum - 07-12-2007, 08:22 PM
Session (ci, native, db, what ?) - by El Forum - 07-17-2007, 05:38 PM
Session (ci, native, db, what ?) - by El Forum - 07-19-2007, 05:32 PM
Session (ci, native, db, what ?) - by El Forum - 07-19-2007, 06:56 PM
Session (ci, native, db, what ?) - by El Forum - 07-19-2007, 08:21 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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