Welcome Guest, Not a member yet? Register   Sign In
CI Sessions
#2

[eluser]Yash[/eluser]
its a mess for me. even I can't go inside your problem.

You should read how set and get a session key. When you set a key
Code:
<?php $this->session->set_userdata('key','value') ?>

get a key

Code:
<?php $this->session->userdata('key') ?>


now whenever you want to create new session just destroy old one. Session lib has those functs. check out user guide and read it carefully.


Messages In This Thread
CI Sessions - by El Forum - 08-09-2009, 05:27 AM
CI Sessions - by El Forum - 08-09-2009, 08:07 AM
CI Sessions - by El Forum - 08-09-2009, 09:24 AM
CI Sessions - by El Forum - 08-09-2009, 11:50 AM
CI Sessions - by El Forum - 08-10-2009, 04:24 PM
CI Sessions - by El Forum - 12-26-2009, 06:23 AM
CI Sessions - by El Forum - 12-26-2009, 10:51 AM



Theme © iAndrew 2016 - Forum software by © MyBB