Welcome Guest, Not a member yet? Register   Sign In
Cookie question?
#2

[eluser]InsiteFX[/eluser]
Code:
$user = array (
    'id' => $id,
    'username' => $username,
    'password' => $password
);

$cookie_data = $this->user;

Now set your cookie using $cookie_data for your value.

You may want to serialize and unserialize your $cookie_data
You view the session.php class to see how it is done!

InsiteFX


Messages In This Thread
Cookie question? - by El Forum - 04-03-2011, 10:59 AM
Cookie question? - by El Forum - 04-03-2011, 01:54 PM
Cookie question? - by El Forum - 04-03-2011, 04:27 PM
Cookie question? - by El Forum - 04-03-2011, 04:31 PM
Cookie question? - by El Forum - 04-03-2011, 07:28 PM
Cookie question? - by El Forum - 04-03-2011, 08:31 PM
Cookie question? - by El Forum - 04-03-2011, 08:44 PM
Cookie question? - by El Forum - 04-03-2011, 09:46 PM
Cookie question? - by El Forum - 04-04-2011, 01:35 AM
Cookie question? - by El Forum - 04-04-2011, 03:08 PM



Theme © iAndrew 2016 - Forum software by © MyBB