CodeIgniter Forums
How do you set the use of native PHP sessions? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: How do you set the use of native PHP sessions? (/showthread.php?tid=51487)



How do you set the use of native PHP sessions? - El Forum - 05-06-2012

[eluser]antoniog[/eluser]
I can not find any posts here in the forums and User's Guide explains to me how to set esastivamente using native PHP sessions and now I'm confused.
Is there anyone who helps me with a step by step?
I have little experience with the native PHP sessions and I know that it is sufficient to start with session_start () as the first line of code in the page but can not figure out where to put this function.
Help my, I am learning CodeIgniter 2.1 and my manual, I'm referring to now, is dedicated to version 1.5 and I have already noticed some changes from the version I use.
Thanks to all.


How do you set the use of native PHP sessions? - El Forum - 05-06-2012

[eluser]ojcarga[/eluser]
Why would you like to use PHP native session handler instead of CI sessions?

It is just as easy as PHP native session, and a nicer way. It has some features you would love after you use it.
http://ellislab.com/codeigniter/user-guide/libraries/sessions.html

Cheers


How do you set the use of native PHP sessions? - El Forum - 05-06-2012

[eluser]antoniog[/eluser]
[quote author="ojcarga" date="1336315212"]Why would you like to use PHP native session handler instead of CI sessions?

It is just as easy as PHP native session, and a nicer way. It has some features you would love after you use it.
http://ellislab.com/codeigniter/user-guide/libraries/sessions.html

Cheers[/quote]

I would like to know also how to set and use the native PHP sessions!
Thank you for link that I know already.


How do you set the use of native PHP sessions? - El Forum - 05-06-2012

[eluser]InsiteFX[/eluser]
Then goto PHP.NET and read it!



How do you set the use of native PHP sessions? - El Forum - 05-07-2012

[eluser]antoniog[/eluser]
[quote author="InsiteFX" date="1336329933"]Then goto PHP.NET and read it!
[/quote]

Thanks, what I know.