0 Replies Latest reply on Dec 27, 2001 3:50 AM by alphafoo

    persistent cookies- how to do it?

    alphafoo Newbie

      I am trying to figure out how to set a session to never expire. That is, I want the browser to write out a cookie to the client machine so I can do things like automatically log the user in.

      I tried setting the <session-timeout> in web.xml to -1 but that didn't have any effect.

      I am using JAAS, so my code doesn't actually touch the cookie, and I'd like to keep it that way. How have other JBoss users done this?

      Actually, how does this jboss.org forums site do it?