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 #175559 is a reply to message #175558] Sat, 08 October 2011 20:41 Go to previous messageGo to previous message
nick[1] is currently offline  nick[1]
Messages: 5
Registered: October 2011
Karma:
Junior Member
On Oct 7, 7:22 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> 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.
> jstuck...@attglobal.net
> ==================

Jerry,

Thanks for your reply. So, I need to run the session-set-cookie-params
IN the load balancer and NOT in the backend server code?

Nick R.
[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 Dec 01 04:04:35 GMT 2024

Total time taken to generate the page: 0.03383 seconds