Thanks a lot Paul. Before I read this , I tried the following :
hash_data(regsub(req.http.Cookie,^.*?mycookie=([^;]*);*.*$ , \1));
Your regex differs than mine. One negligible difference and one that
I'll focus on. The negligible difference being the anchors ^ and $.
They aren't necessary.
==
Your regex differs than mine. One negligible difference and one that I'll
focus on. The negligible difference being the anchors ^ and $.
They aren't necessary.
For reference, my regex
Hi All,
I am trying to hash varnish on a particular cookie value. My
url remains the same , but the content changes depending on if you have
this particular cookie and its value. I am stuck at how to evaluate that
cookie value and pass it to hash function (passing it to hash
On Wed, Nov 07, 2012 at 10:18:45PM +0530, Soumendu Bhattacharya wrote:
Hi All,
I am trying to hash varnish on a particular cookie
value. My url remains the same , but the content changes depending on
if you have this particular cookie and its value. I am stuck at
==
On Wed, Nov 07, 2012 at 10:18:45PM +0530, Soumendu Bhattacharya wrote:
Hi All,
I am trying to hash varnish on a particular cookie
value. My url remains the same , but the