You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Dan Allen <da...@mojavelinux.com> on 2003/03/21 11:08:02 UTC
dropping sessions
Using security filter and the org.apache.catalina.realm.JDBCRealm,
if I reload my application all the active sessions are dropped.
Isn't the idea of reloading the application (through the manager) to
preserve all the sessions?
I can't for the life of me figure out what is screwing up. All I am
doing is putting up a login page, having the user login and show the
remoteUser name, then reloading the application. At this point,
when the user does refresh, poof, session is gone.
Any ideas?
Dan
--
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Daniel Allen, <da...@mojavelinux.com>
http://www.mojavelinux.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
The idea of implementing a serious complex set of business
logic rules in a scripting language like Perl really scares me.
Perl is too much 'write once, read never again'. And that's no good
for business logic that requires maintenance.
- voostind
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re: dropping sessions
Posted by Dan Allen <da...@mojavelinux.com>.
Boris Folgmann (misc@folgmann.com) wrote:
> Dan Allen wrote:
>
> > Isn't the idea of reloading the application (through the manager) to
> > preserve all the sessions?
>
> No, you do a reload when your WEB-INF/classes have changed. It's impossible
> to reuse the old session data, because your classes may have other
> attributes now or whatever you have changed.
Okay, that makes sense, so now every time I change the tiles
definitions or struts-config the sessions go bye bye too?
Dan
--
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Daniel Allen, <da...@mojavelinux.com>
http://www.mojavelinux.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"If you are going to play the game of trial and error,
don't be suprised when the results are revealing. -- me"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re: dropping sessions
Posted by Boris Folgmann <mi...@folgmann.com>.
Dan Allen wrote:
> Isn't the idea of reloading the application (through the manager) to
> preserve all the sessions?
No, you do a reload when your WEB-INF/classes have changed. It's impossible
to reuse the old session data, because your classes may have other
attributes now or whatever you have changed.
--
Dipl.-Inf. Boris Folgmann mailto:boris@folgmann.de
Folgmann IT-Consulting http://www.folgmann.de
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org