Hi Mark,
thanks for the reply.
I should probably correct my first post, I'm actually just using
cookies not sessions.
What I'm trying to test is pretty much this functionality in one of my
controllers:
<?php
class SomeController extends AppController {
var components = array('Cookie');
function isCookieSet() {
$userCookie = $this->Cookie->read('User');
if(isset($userCookie) && $userCookie != null) {
return true;
} else {
return $this->Cookie->write('User', 'CookieValue');
}
}
}
?>
I would like to be able to test this functionality by being able to
play around with the cookie.
thanks,
Tony.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---