note 38067 added to function.session-set-cookie-params
| From: | valfor at silphix dot com | Date: | Sun, 07 Dec 2003 05:34:19 +0000 |
| Subject: | note 38067 added to function.session-set-cookie-params | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-61583@lists.php.net to get a copy of this message | ||
Personal comment on 4th parameter; "bool secure".
void session_set_cookie_params ( int lifetime [, string path [, string domain [, bool secure]]])
Neither 'TRUE' nor "TRUE" works.
ONLY int 1 seems to be accepted to make this parameter "true". return value is boolean
[true] though.
ex:
session_set_cookie_params( 10800, '/', 'mydomain.com', 1 );
Am I missing out on something? or is this how booleans work? ( yes, I've read the booleans
section... )
*1bit smarter than yesterday!*
Valfor
----
Manual Page -- http://www.php.net/manual/en/function.session-set-cookie-params.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+38067
Delete -- http://master.php.net/manage/user-notes.php?action=delete+38067&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+38067&report=yes
Search -- http://master.php.net/manage/user-notes.php