12-31-2018
This User Gave Thanks to Neo For This Post:
7 More Discussions You Might Find Interesting
1. What is on Your Mind?
Happy New Year!
There are currently four UNIX.COM achievement awards up for grabs, as the say. Here they are, in no particular order:
The Order of the Raven
The Order of the Hippo
The Order of the Spider
The Order of the Dragon
Don't ask me what they mean, or who who will get those... (0 Replies)
Discussion started by: Neo
0 Replies
2. What is on Your Mind?
Congrats to Corona688 for a much deserved and long overdue lifetime achievement award badge from UNIX.COM in computer wizardry:
"The Order of the Wizard's Hat - Lifetime Achievement Award"
This "Order of the Wizard's Hat" is presented to Corona688 in 2019 for UNIX Wizardry and his continued... (6 Replies)
Discussion started by: Neo
6 Replies
3. What is on Your Mind?
Please join me in congratulations to Wolf Machowitsch (bakunin) for his long overdue lifetime achievement award badge from UNIX.COM in computer wizardry:
"The Order of the Wizard's Hat - Lifetime Achievement Award"
This "Order of the Wizard's Hat" is presented to Wolf Machowitsch (bakunin)... (11 Replies)
Discussion started by: Neo
11 Replies
4. What is on Your Mind?
Please join me in congratulating RudiC for his long overdue lifetime achievement award badge from UNIX.COM in computer wizardry:
"The Order of the Wizard's Hat - Lifetime Achievement Award"
This "Order of the Wizard's Hat" is presented to RudiC for Computer Wizardry in the UNIX Operating... (10 Replies)
Discussion started by: Neo
10 Replies
5. What is on Your Mind?
Please join me in congratulating Scrutinizer for his long overdue lifetime achievement award badge from UNIX.COM in computer wizardry:
"The Order of the Wizard's Hat - Lifetime Achievement Award"
This "Order of the Wizard's Hat" is presented to Scrutinizer for Computer Wizardry in the UNIX... (7 Replies)
Discussion started by: Neo
7 Replies
6. What is on Your Mind?
Dear All,
I am pleased to post that I am announcing a new award, "Poster of the Year 2019" and calling for your nominations (privately to me).
This is a new award and I plan to announce the winner for this year (2019) in January 2020. The prizes will be (still working out the details):
... (0 Replies)
Discussion started by: Neo
0 Replies
7. What is on Your Mind?
Dear All,
We are happy to post that I will be announcing soon my award for "Moderator of the Year 2019". This is a new award which I plan to announce in December of each year, starting this year (2019). The prizes will be (still working out the details):
A Moderator of the Year... (3 Replies)
Discussion started by: Neo
3 Replies
LEARN ABOUT PHP
session_set_cookie_params
SESSION_SET_COOKIE_PARAMS(3) 1 SESSION_SET_COOKIE_PARAMS(3)
session_set_cookie_params - Set the session cookie parameters
SYNOPSIS
void session_set_cookie_params (int $lifetime, [string $path], [string $domain], [bool $secure = false], [bool $httponly = false])
DESCRIPTION
Set cookie parameters defined in the php.ini file. The effect of this function only lasts for the duration of the script. Thus, you need
to call session_set_cookie_params(3) for every request and before session_start(3) is called.
This function updates the runtime ini values of the corresponding PHP ini configuration keys which can be retrieved with the ini_get(3).
PARAMETERS
o $lifetime
-Lifetime of the session cookie, defined in seconds.
o $path
-Path on the domain where the cookie will work. Use a single slash ('/') for all paths on the domain.
o $domain
- Cookie domain, for example 'www.php.net'. To make cookies visible on all subdomains then the domain must be prefixed with a dot
like '.php.net'.
o $secure
- If TRUE cookie will only be sent over secure connections.
o $httponly
- If set to TRUE then PHP will attempt to send the httponly flag when setting the session cookie.
RETURN VALUES
No value is returned.
CHANGELOG
+--------+-------------------------------------+
|Version | |
| | |
| | Description |
| | |
+--------+-------------------------------------+
| 5.2.0 | |
| | |
| | The $httponly parameter was added. |
| | |
+--------+-------------------------------------+
SEE ALSO
session.cookie_lifetime, session.cookie_path, session.cookie_domain, session.cookie_secure, session.cookie_httponly, ses-
sion_get_cookie_params(3).
PHP Documentation Group SESSION_SET_COOKIE_PARAMS(3)