Re: Session beans

2003-06-09 Thread Josh McCulloch
Try something like this: HttpSession session = request.getSession(); Enumeration names = session.getAttributeNames(); while(names.hasMoreElements()) { String key = (String)names.nextElement(); session.removeAttribute(key); } [EMAIL PROTECTED] wrote: Hey everyone, I'm aware of the issues

RE: Session beans

2003-06-09 Thread Kamholz, Keith (corp-staff) USX
What package is HttpSession in? Keith Kamholz Programming and Architecture Moog Inc. Phone: (716) 687-7001 -Original Message- From: Josh McCulloch [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 1:31 PM To: Struts Users Mailing List Subject: Re: Session beans Try something

RE: Session beans

2003-06-09 Thread Bailey, Shane C.
http://java.sun.com/products/servlet/2.1/api/javax.servlet.http.HttpSession. html -Original Message- From: Kamholz, Keith (corp-staff) USX [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 3:25 PM To: 'Struts Users Mailing List' Subject: RE: Session beans What package is HttpSession

Re: Session beans

2003-06-09 Thread Erik Price
Kamholz, Keith (corp-staff) USX wrote: What package is HttpSession in? http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/http/HttpSession.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

RE: Session beans are shared across multiplae instances of browsers!

2003-03-31 Thread Mick . Knutson
Stateless session bean are pooled by the container, and reused. So if you define globals in your session bean, then everone has access to this. This is _not_ struts, this is J2EE. If you do not want things modified, make them locals instead of globals in the SB. -Original Message- From:

RE: Session beans are shared across multiplae instances of browsers!

2003-03-31 Thread Tumi Mathibedi
how is that possible to share your session bean? is your bean static? -Original Message- From: Jain, Shilpi [mailto:[EMAIL PROTECTED] Sent: 31 March 2003 01:42 To: Struts Users Mailing List Subject: Session beans are shared across multiplae instances of browsers! My session beans are

RE: Session beans are shared across multiplae instances of browsers!

2003-03-31 Thread Ritesh Singhal
Shilpi, If you are opening up the new browser window by pressing CTRL+N then the session will be shared. To avoid this always open the browser as a new process from your desktop menu. Regards Ritesh -Original Message- From: Jain, Shilpi [mailto:[EMAIL PROTECTED] Sent: Monday, March

RE: Session beans are shared across multiplae instances of browsers!

2003-03-31 Thread Oguz Kologlu
Shilpi, You should also make sure you are not actually in the same session. If you use IE and press ctrl-n for a new window you will be in the same session to the server. Oz ps. too funny - you work for xerox!!! ;) well, maybe not that funny. -Original Message- From: Jain, Shilpi

RE: Session beans are shared across multiplae instances of browsers!

2003-03-31 Thread Ritesh Singhal
Do you guys have any openings in Xerox ?? Whats the location of the DC ? And how much they pay? -Original Message- From: Oguz Kologlu [mailto:[EMAIL PROTECTED] Sent: Monday, March 31, 2003 5:34 PM To: Struts Users Mailing List Subject: RE: Session beans are shared across multiplae

Re: Session beans are shared across multiplae instances ofbrowsers!

2003-03-31 Thread Becky Norum
On Mon, 2003-03-31 at 06:42, Jain, Shilpi wrote: My session beans are getting shared across multiple instances of the browser. The updation that I do in one instance is reflected in the other instance. Is this a struts bug or I am doing something wrong! Shilpi Shilpi, This is correct

Re: session beans

2002-02-14 Thread Sid Stuart
FilterBean filter = (FilterBean) session.getAttribute (FilterBean.FILTERBEAN_KEY); if (filter == null) { log.info (Creating Filter); session.setAttribute (FilterBean.FILTERBEAN_KEY, new FilterBean ()); } Henry Lu wrote: How to