FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » How to set secure flag on the session cookie in F5 (load balancer)
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: How to set secure flag on the session cookie in F5 (load balancer) [message #175558 is a reply to message #175557] Fri, 07 October 2011 23:22 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 10/7/2011 5:14 PM, nick wrote:
> Hi All,
>
> Does anyone know how to set the secure flag on the PHP session cookie
> in the load balancer (F5)?
> Basically I am using the PHP session cookie, with no secure flag, in
> the backend code but I need to send this cookie to the end-user
> (browser) with the secure flag set. I would like to be able to set /
> unset the secure flag on the cookie in the load balancer.
>
> Thanks in advance for any help.
>
> Nick Roman

http://php.net/manual/en/function.session-set-cookie-params.php

Assuming, of course, your PHP code is running in the load balancer. If
not, this isn't a PHP problem.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: retreive cookies
Next Topic: Business Intelligence 2011 (November 12th,Delhi)
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 10 11:08:36 GMT 2024

Total time taken to generate the page: 0.04153 seconds