Welcome Guest, Not a member yet? Register   Sign In
How simply work session ?
#4

Use the session helper method like this works on all session methods using chaining.

PHP Code:
// seesion helper using method chaining.
session('item');
session()->get('item');
session()->set($array);
session()->has('some_name');
session()->remove('some_name'); 
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
How simply work session ? - by lolo57 - 10-21-2020, 12:15 PM
RE: How simply work session ? - by includebeer - 10-24-2020, 08:57 AM
RE: How simply work session ? - by paulbalandan - 10-24-2020, 11:07 AM
RE: How simply work session ? - by InsiteFX - 10-24-2020, 01:39 PM



Theme © iAndrew 2016 - Forum software by © MyBB