In my sandbox app, I am unable to set cookie data. Here is how I am
doing it:
<?php
require_once 'lib/konstrukt/konstrukt.inc.php';
class App extends k_Component {
function renderHtml() {
$this->cookie()->set('test', 'result');
return $this->cookie('test');
}
}
k()->run('App')->out();
In this case, the page will display "result", but if I remove the line
which sets the data, the page is blank, indicating that the cookie did
not persist the data. Is there an additional step that needs to be
taken to set up cookie handling?
Thomas
--
You received this message because you are subscribed to the Google Groups "Konstrukt" group.
To post to this group, send email to
kons...@googlegroups.com.
To unsubscribe from this group, send email to
konstrukt+...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/konstrukt?hl=en.