Replies: 1 comment
-
@kinhdang , this github channel is for bug reports and new feature requests. You might have better luck asking your coding question over on the Phalcon Slack channel, or through one of the various coding question chat sites like SlackOverflow. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dear all ,
I'm newbie in phalcon, maybe this question is stupid, Please help us why this cookie is not woking propely.
in my Autoloader
$container = new FactoryDefault();
.
.
.
.
.
.
$container->set(
'crypt',
function () {
$crypt = new Crypt();
}
);
$container->set(
'cookies',
function () {
$cookies = new Cookies();
}
);
example in Controller:
public function indexAction()
{
Phalcon\Tag::setTitle('..:: Login');
}
public function detailviewAction(){
//set cookie
$this->cookies->set('go_result','Y',time()+600, '/');
$this->cookies->send();
}
/* result when bug value alway return empty
thanks,
Beta Was this translation helpful? Give feedback.
All reactions