Re: security question
| From: | Richard Lynch | Date: | Fri, 24 Nov 2006 17:51:15 +0000 |
| Subject: | Re: security question | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-245123@lists.php.net to get a copy of this message | ||
void session_set_cookie_params ( int lifetime [, string path [, string
domain [, bool secure [, bool httponly]]]] )
The "bool secure" part of that means you can set your cookie
parameters such that your cookies are sent/received only over SSL
connections. Only available since PHP 4.0.4
On Thu, November 23, 2006 12:42 pm, Alain Roger wrote:
> Hi Richard,
>
> Could you be more precise on your suggestion
>
>>
>> You may want to use http://session_set_cookie_params to
>> require the
>> your SSL cookie ONLY go through SSL, though.
>>
>
>
> i suppose you mean to use the SID in the address.
> I've never done this before and i'd be very glad to learn how to do it
> and
> to use it efficiently.
> Do you have any tutorial or help to suggest me regarding this topic ?
>
> thanks a lot,
> ALain
>
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?