Friday Dec 14, 2007

Look Ma! NO Cookies AND NO URL Rewriting!

A Cookie Jar in the shape of a Rocket

The typical ways to maintain HTTP sessions are URL Rewriting and Cookies, but one of the GlassFish users wanted to use neither. This was part of a migration from Tomcat to GlassFish v2 involving mobile devices (see Original Post).

The desired approach involved using Mobile IP addresses and Jan showed how to implement this using the extension points available in GFv2. Jan just wrote a Nice Description of the technique that may be of use in other cases.