On Wed, Nov 16, 2011 at 12:06:01PM +0000, Lane, Richard wrote:
> 
> I am getting the value of a cookie and then trying to compare it to another
> integer value but am getting a compile error. Can I compare integers stored
> in the req object? Should I be going about this a different way?

Use the conversion method in vmod_std:
https://www.varnish-cache.org/docs/trunk/reference/vmod_std.html#integer

-- 
Andreas

_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to