I'm not sure what you mean by global sessions you mean application scoped
items?
Also using scope for session data doesn't garbage clean it when its done.
Do you mean to scope it in a different scope?
-Tim
-Original Message-
From: varanasi kiran [mailto:[EMAIL PROTECTED]
Sent: Thursday,
How many things you put in the session is up to you.. You basically
make strutures (arrays, maps and such forth) available to your
presentation layer by putting into the session, request or application
scope depending on what your things have to do..
Issues relating to session will have more
I'm aware that the developers USING struts have to be careful about how
much they put into session. We can control this. What I'm concerned about
is how much struts might be doing on its own, such as storing the locale.
A few things stored in session is ok, especially if they don't change with
george
I never had to solve the problem but I believe that maintaining a
session across machines can be problematic , at least with tomcat
3.*... Sorry i can be much help in a detailed way becuase I've never
tested this.. It could be nonesense, i'm not sure.. I'm sure they'll be
some package
The one thing I would say to watch out for is the persistent of form
information in session for wizards.
If you have a form that stretches across multiple pages in the standard
wizard pattern, the way I've seen it done in Struts is to use the Session
scope for the form bean. There is no
Afaik - you have to remove it yourself (in your action generally) when you
have finished with it.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 08, 2003 22:28
To: Struts Users Mailing List
Subject: Re: struts and session size
The one
On Wed, 8 Jan 2003 [EMAIL PROTECTED] wrote:
Date: Wed, 8 Jan 2003 09:32:39 +
From: [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: struts and session size
I'm a newb to struts, investigating it as a replacement to our home-grown
Doug, the servlet container is responsible for invalidating the session based on the
configured timeout. If you want to take some action when that occurs you should
register an HttpSessionListener to receive notification of session lifecycle events.
For complete details you can read the
Should I use request.getSession(false) to check if session is
timeout? If so, that means for every request, it will check if session is
invaildate. Will it cause performance problem? If not, which methods
should I call to check it?
That is the only way to know if the session is invalid..(or
Hi Doug,
We use a javax.servlet.Filter to check for an expired session. I found this
idea on some website or in the Struts-User archives and it makes the most
sense to me. All requests go through the filter before they hit the
servlet, so this is the perfect place to check for whether or not a
Justin:
Thank you for reply.
That's a good idea. One more question, can filter works with struts?
Doug
Justin Ashworth [EMAIL PROTECTED] wrote:Hi Doug,
We use a javax.servlet.Filter to check for an expired session. I found this
idea on some website or in the Struts-User archives and it makes
Doug Ogateter wrote:
Thank you for reply.
That's a good idea. One more question, can filter works with struts?
It's not about Struts, it's about your web container. Filters are hit before each and
every request, so they happen before any Struts components, servlets, or whatnot are
ever
, December 17, 2002 11:04 AM
Subject: Re: Struts and session
Justin:
Thank you for reply.
That's a good idea. One more question, can filter works with struts?
Doug
Justin Ashworth [EMAIL PROTECTED] wrote:Hi Doug,
We use a javax.servlet.Filter to check for an expired session. I found
have access to ActionMApping object
there...
regards,
Shirish
-Original Message-
From: justin-struts [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 17, 2002 5:16 PM
To: struts-user
Cc: justin-struts
Subject: Re: Struts and session
Hi Doug,
The filter does work with Struts - it just
: Justin Ashworth [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 17, 2002 11:16 AM
To: 'Struts Users Mailing List'
Subject: Re: Struts and session
Hi Doug,
The filter does work with Struts - it just doesn't make use of it. Your
request goes through the filter even before the Struts
there...
regards,
Shirish
-Original Message-
From: justin-struts [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 17, 2002 5:16 PM
To: struts-user
Cc: justin-struts
Subject: Re: Struts and session
Hi Doug,
The filter does work with Struts - it just doesn't make use of it. Your
16 matches
Mail list logo