Welcome Guest, Not a member yet? Register   Sign In
How do you set the use of native PHP sessions?
#1

[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.
#2

[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-gui...sions.html

Cheers
#3

[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-gui...sions.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.
#4

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

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

Thanks, what I know.




Theme © iAndrew 2016 - Forum software by © MyBB