Set expiration for nette-browser cookie
Notice: This thread is very old.
- Member | 20
is there a way to set expiration date for nette-browser cookie without changing the Nette\Http object?
I understand that it is somewhat pointless since it's doing no harm, but one of our projects is required to meet strict corporate standards which allow only specific session cookies to exists without the Expire tag.
While we are trying to get exception for this case, any ideas how to achieve this?
- David Grudl
- Nette Core | 7929
You can delete cookie via
$httpResponse->deleteCookie('nette-browser') after session is