Welcome Guest, Not a member yet? Register   Sign In
getting the cookie values
#1

[eluser]mrcoder[/eluser]
Hi,

Iam new to codeigniter i want to set cookie if user checks the remember me.

i have set the cookie like this

$usercookie=set_cookie($username, $password, '86500');

and iam now trying to get tthe cookies

$getusercookie=get_cookie($usercookie);

the cookies are setting property but iam not able to get them.iam getting the null values when iam using get_cookie .can any one tell me whats the problem in my code


Messages In This Thread
getting the cookie values - by El Forum - 08-17-2009, 05:17 AM
getting the cookie values - by El Forum - 08-17-2009, 05:27 AM
getting the cookie values - by El Forum - 08-17-2009, 05:31 AM
getting the cookie values - by El Forum - 08-17-2009, 06:14 AM
getting the cookie values - by El Forum - 08-17-2009, 06:32 AM
getting the cookie values - by El Forum - 08-17-2009, 07:16 AM
getting the cookie values - by El Forum - 08-17-2009, 07:17 AM



Theme © iAndrew 2016 - Forum software by © MyBB