I'm using... Webware 0.8. WebKit, in this particular example.
Sooo, it looks to me like when you create a session, a cookie gets
created, and there's no way to set the expiration date on the cookie.
So it defaults to "valid for current (browser) session only." This
doesn't work so well for me, because although I use Linux browsers
where it's traditional to close and open windows, apparently among my
Windows users the tradition is to close and open the entire IE
application, thus losing any browser session-only cookies.
my.yahoo.com has an option when you're logging in that says "remember
my username and password." If you don't check this checkbox, you're
given browser-session-only cookies. If you do check it, you're given
the same cookies, but with an expiration date in the far future.
I'd like to do something like this. Is there any way I can add a hook
in my servlet code to add an expiration date to the session cookie?
Am I missing something fundamental? The "session timeout," as I
understand it, is not what I'm looking for because that institutes an
additional server-side timeout within the browser session.