Jump to content

Archived

This topic is now archived and is closed to further replies.

bogeyman

CodeIgniter's Session

Recommended Posts

Dear All,

 

I'm just curious about session in CodeIgniter. Where and how was the session stored? Because I didn't find any session file in my temporary directory.

Share this post


Link to post
Share on other sites

Codeigniter not use PHP sessions, instead use a cookie, you can choose cookie name setting this in:

 

//appication/config/config.php

 

Happy xmas.

 

 

Share this post


Link to post
Share on other sites

You can also use the database for sessions too, if you don't like storing certain information in cookies. The latest CI install lets you store userdata in the database, making it more secure :)

Share this post


Link to post
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.