Forum Discussion

f5_learner_2857's avatar
f5_learner_2857
Icon for Nimbostratus rankNimbostratus
Dec 24, 2011

Multiple Cookies - Session lost

Hello,

 

 

Few questions

 

 

1. I have applied the iRule to encode the cookie into node ip and port to log it to var/log. I would like to know how can I save the cookie value as well in the logs.

 

 

2. I have only defined a single cookie for the virtual server such as

 

 

Set-Cookie: BIGipServerweb_pool=883402944.20480.0000; path=/v

 

 

However, I also see the below cookie which I have not configured. Is this a default cookie

 

 

Set-Cookie: BIGipServerFP_pool=168430090.20480.0000;path=/;

 

 

3. Some of the users are losing their sessions even though I have configured OneConnect. Is 9.2.2 version known to have any bugs related OneConnect wherein sessions get lost.

 

 

4. I don't see all the HTTP client get methods hitting the servers containing the cookie through packet capture. Once the F5 sends a Set-Cookie, some http clients requests contain the cookie and some requests do not. Is this the correct behaviour. I think when the client does not send the cookie in the intermediate requests, the session gets lost.

 

 

 

Thanks.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1 Reply

  • 1. I have applied the iRule to encode the cookie into node ip and port to log it to var/log. I would like to know how can I save the cookie value as well in the logs. what irule are you using? i have seen some in codeshare.

     

     

    e.g.

     

    Persistence Cookie Logger by Deb

     

    http://devcentral.f5.com/wiki/iRules.Persistence_Cookie_Logger.ashx

     

     

    Cookie Persistence Logging for TMOS 10.0.0 or greater by rwilke -at- connectria.com

     

    http://devcentral.f5.com/wiki/iRules.Cookie-Persistance-Logging-for-TMOS-10-0-0-or-greater.ashx

     

     

    However, I also see the below cookie which I have not configured. Is this a default cookie

     

    Set-Cookie: BIGipServerFP_pool=168430090.20480.0000;path=/;does the virtual server have irule which may select FP_pool?

     

     

    Once the F5 sends a Set-Cookie, some http clients requests contain the cookie and some requests do not. Is this the correct behaviour.i do see client sending cookie in all requests (after receiving set-cookie).