How to use: session_set_cookie_params

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
php_wiz_kid
Forum Contributor
Posts: 181
Joined: Tue Jun 24, 2003 7:33 pm

How to use: session_set_cookie_params

Post by php_wiz_kid »

Hey everybody, I was just wondering how you used the function session_set_cookie_params. I know the syntax is session_set_cookie_params($lifetime, $path, $domain [,$secure]). It says that it exists in this book I have, but doesn't explain how to use it. Thanks to anyone who knows about it. Also, please tell me about to use the [,$secure] part of it.
User avatar
patrikG
DevNet Master
Posts: 4235
Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK

Post by patrikG »

Have a look at the user notes of the manual. ;)
Post Reply