Welcome Guest, Not a member yet? Register   Sign In
Cookie problem

Hey!, I've got a problem with cookies :/.

The question:
How am I going to set a cookie on my localhost (wamp).
My code for that now:
$cookie = array(
    'name' => 'cookie',
    'value'  => 'cookievalue',
        'expire' => '86500',
        'domain' => '.localhost',
        'path'   => '/',

then I echo it out with this code:
echo $this->input->cookie('cookie');
When I echo this out it ain't displaying anything Sad
Shouldn't that work?

EDIT: Fixed it in some way, just worked suddenly :/ Smile

Messages In This Thread
Cookie problem - by El Forum - 02-28-2010, 06:14 PM

Theme © iAndrew 2016 - Forum software by © MyBB