Forum Discussion
bigip networking Configuration Guide
Profile my_profile
| URI /blank.htm
| Host www.my.com
| 16 hits Size 208
| Received 2007-02-12 14:44:09 Last sent 2007-02-12 14:44:12
| Expires 1969-12-31 16:00:00 Vary none Vary count 1
[root@bigip1:Active] config
http://www.my.com/blank.htm
GET /blank.htm HTTP/1.1
Host: www.my.com
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
HTTP/1.x 200 OK
Connection: Keep-Alive
Date: Mon, 12 Feb 2007 22:45:55 GMT
Age: 106
Content-Length: 6
Server: Apache-Coyote/1.1
Etag: W/"6-1169519270000"
Last-Modified: Tue, 23 Jan 2007 02:27:50 GMT
Content-Type: text/html
- Oct 04, 2022
Hi jba3126
I have a few thoughts on this. You might try to debug the contents of the [HTTP::cookie names] function by feeding its output into the log command, and observe the returned names.
I did spot an older forum post which parses the HTTP headers directly instead of using the HTTP::cookie function: https://community.f5.com/t5/technical-forum/http-cookie-how-can-i-handle-cookies-with-duplicate-names-but/m-p/271656 I repasted it with cleaned up formatting here. Modify the logic to match on whichever cookie names you need to modify.
when HTTP_RESPONSE { set CookieCounter 0 foreach SetCookieHeader [HTTP::header values Set-Cookie] { incr CookieCounter log local0. "Saving Set-Cookie header value in array, index number = $CookieCounter, Value = $SetCookieHeader" set CookieArray("$CookieCounter") "$SetCookieHeader" } HTTP::header remove "Set-Cookie" log local0. "Removing Set-Cookie HTTP headers" foreach {Index Cookie} [array get CookieArray] { if { $Cookie contains "iPlanetDirectoryPro" } { HTTP::header insert "$Cookie; HttpOnly" log local0. "Inserting cookie - $Cookie; HttpOnly" } else { HTTP::header insert "$Cookie" log local0. "Inserting cookie - $Cookie" } } }
The second item regarding the failing SSO, this may be related to the use of client-side Javascript that may help trigger the logon process. You might try setting each attribute separately to narrow it down, and also check with the application vendor if possible for configuration best practices.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com