Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #3332

Re: How to set secure flag on the session cookie in F5 (load balancer)

From Jerry Stuckle <jstucklex@attglobal.net>
Newsgroups comp.lang.php
Subject Re: How to set secure flag on the session cookie in F5 (load balancer)
Date 2011-10-07 19:22 -0400
Organization A noiseless patient Spider
Message-ID <j6o1ko$4b6$1@dont-email.me> (permalink)
References <f66a60a1-3feb-4378-982e-a07a938183bd@i33g2000yqm.googlegroups.com>

Show all headers | View raw


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@attglobal.net
==================

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How to set secure flag on the session cookie in F5 (load balancer) nick <schitroc@gmail.com> - 2011-10-07 14:14 -0700
  Re: How to set secure flag on the session cookie in F5 (load balancer) Jerry Stuckle <jstucklex@attglobal.net> - 2011-10-07 19:22 -0400
    Re: How to set secure flag on the session cookie in F5 (load balancer) nick <schitroc@gmail.com> - 2011-10-08 13:41 -0700
      Re: How to set secure flag on the session cookie in F5 (load balancer) Jerry Stuckle <jstucklex@attglobal.net> - 2011-10-08 18:35 -0400

csiph-web