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:
DONE!
Comments
Nice! Love that developers can have more control of their cookies that Agility.Web sets. 👍
Please sign in to leave a comment.