[jetty-users] how to redirect using cookie info?
I also have links on the pages for example:
<li><a href=""><li><a href="">...
Here's what I want to happen: If the user clicks on link1 and the preference cookie is "old" then I want the link to be sent to link1.old.html.
I've briefly looked briefly at Jetty RedirectPatternRule and RewriteRegexRule but as far as I can tell these won't let me construct a new URL from the old URL plus cookie information? Any suggestions on the best way to accomplish my desired goal are greatly appreciated.