Hi Arun,

On Wed, May 23, 2012 at 2:42 PM, Arun Dobriyal <[email protected]
> wrote:

> "How can I create string variables in the default.vcl file... Is it
> possible to create variables and then use them.."
>

Have a look at Tollefs excellent Variable VMOD.

https://www.varnish-cache.org/vmod/variable-support

Also, as Tobias mentioned. The old school way is to stuff things into HTTP
headers. :-)
-- 
Per Buer
Phone: +47 21 98 92 61 / Mobile: +47 958 39 117 / Skype: per.buer
*Varnish makes websites fly!*
Whitepapers <http://www.varnish-software.com/whitepapers> |
Video<http://www.youtube.com/watch?v=x7t2Sp174eI> |
Twitter <https://twitter.com/varnishsoftware>
_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to