How to override Agility Language Cookie (.NET)

To override the Agility language cookie you need to create a new filter:

This filter gets the website name and language code (if it exists). Builds the cookie using the AgilityContext and adds it to the response header. Any properties you need to set would be done here.

Next you need wire up the filter in your FilterConfig.cs:







1 comment
  • Nice! Love that developers can have more control of their cookies that Agility.Web sets. 👍

    Comment actions Permalink

Please sign in to leave a comment.

Didn't find what you were looking for?

New post