You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Christopher Schultz <ch...@christopherschultz.net> on 2011/10/21 17:05:46 UTC

Re: [OT] control of session timed out with tomcat

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tim,

On 10/20/2011 7:01 PM, Tim Watts wrote:
> This was a while ago -- no HttpSessionListeners available -- so we
> couldn't easily persist the session and recall it when the user
> logged in again.

Wow. What were you using, Apache JServ? Tomcat 3.x?

I don't see from the API javadocs when HttpSessionBindingListener was
introduced (it just says "$Version$" in 2.5 and nothing at all in
3.0), but that should have been around for a long time.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6hikoACgkQ9CaO5/Lv0PAYtgCgtzkREusG5n1oGmTtC1pyMzKS
iIYAnRUBhxc8q+qZ0E77m1UQRQIrPANX
=P4Wf
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: [OT] control of session timed out with tomcat

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tim,

On 10/21/2011 2:10 PM, Tim Watts wrote:
> On Fri, 2011-10-21 at 11:05 -0400, Christopher Schultz wrote: On
> 10/20/2011 7:01 PM, Tim Watts wrote:
>>>> This was a while ago -- no HttpSessionListeners available --
>>>> so we couldn't easily persist the session and recall it when
>>>> the user logged in again.
> 
>> Wow. What were you using, Apache JServ? Tomcat 3.x?
> 
> It was 3.x I believe. Yes, I am that old. Eh, you kids today with
> your new fangled session listeners and what not. Back in the day we
> just let the user's work vanish into thin air ...and they were
> GRATEFUL! :-)

I was there for the 2.2->2.3 switch as well. I remember being handed a
"server runbook" that included Apache JServ, and configuring
everything was a tedious nightmare. I understand why some people post
to the list saying "my configuration doesn't work" and you find
they're using a TC 4.x server.xml file with TC 7.x: that's what the
runbook says, so they do it.

I distinctly remember personally upgrading our own "standard library"
code to move from the whole getValue/setValue to
getAttribute/setAttribute. My employer, for whatever reason, had also
implemented their own session management strategy and wired it into
their own "app framework" (I use that term *very* loosely). I
re-factored it to use standard HttpSessions under the hood and then
got to delete /lots/ of (IMO) completely useless code.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6h3YoACgkQ9CaO5/Lv0PDkuwCfeBlt55GCpcsGRBm10gX8rnWf
49UAnR96Q+Vdzpc4k5EpC5srpJuAJWCY
=HM2M
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: [OT] control of session timed out with tomcat

Posted by Tim Watts <ti...@cliftonfarm.org>.
On Fri, 2011-10-21 at 11:05 -0400, Christopher Schultz wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Tim,
> 
> On 10/20/2011 7:01 PM, Tim Watts wrote:
> > This was a while ago -- no HttpSessionListeners available -- so we
> > couldn't easily persist the session and recall it when the user
> > logged in again.
> 
> Wow. What were you using, Apache JServ? Tomcat 3.x?

It was 3.x I believe. Yes, I am that old. Eh, you kids today with your
new fangled session listeners and what not. Back in the day we just let
the user's work vanish into thin air ...and they were GRATEFUL! :-)


> 
> I don't see from the API javadocs when HttpSessionBindingListener was
> introduced (it just says "$Version$" in 2.5 and nothing at all in
> 3.0), but that should have been around for a long time.
> 
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iEYEARECAAYFAk6hikoACgkQ9CaO5/Lv0PAYtgCgtzkREusG5n1oGmTtC1pyMzKS
> iIYAnRUBhxc8q+qZ0E77m1UQRQIrPANX
> =P4Wf
> -----END PGP SIGNATURE-----
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org