s:if iterator session problem

2013-11-18 Thread john lee
  from the following output,    we can tell sell_price=36.97, display_price=1   why    none of test statement works ?     please advise, thanks in advance   john       Class Part { float sell_price;     int display_price;     ./*..get set here *

AW: Struts2 session problem (after migrating behind reverse proxy)

2010-08-03 Thread Tim Dellas
); }); Got the JS code from this page: http://www.quirksmode.org/js/cookies.html Thank you, problem solved! Best Regards, Tim -Ursprüngliche Nachricht- Von: nuwan chandrasoma [mailto:mymail...@gmail.com] Gesendet: Dienstag, 3. August 2010 12:31 An: Struts Users Mailing Li

Re: Struts2 session problem (after migrating behind reverse proxy)

2010-08-03 Thread nuwan chandrasoma
Hi Tim, what is your apache webserver version? i have you tried with a ProxyPassReverse declaration? Thanks, Nuwan C. On Mon, Aug 2, 2010 at 9:05 PM, Tim Dellas wrote: > Hi there! > > > > I store session parameters in a Struts2 session map that I get in my > actions > using the SessionAware i

Struts2 session problem (after migrating behind reverse proxy)

2010-08-02 Thread Tim Dellas
Hi there! I store session parameters in a Struts2 session map that I get in my actions using the SessionAware interface. My Application is in the /MyApp path. After setting up the struts2 application on an Apache server with an inverse proxy redirect that makes the URL http://www.appdomain.

Re: Struts 2 session problem

2009-01-21 Thread musomesa
To: user@struts.apache.org Sent: Mon, 19 Jan 2009 3:39 pm Subject: Re: Struts 2 session problem Yes, SEAM does: http://www.seamframework.org/Documentation/DoesSeamSupportMultipleBrowserWindowsOrTabs I haven't dug into exactly how they do it but I would not be surprised if they pass

Re: Struts 2 session problem

2009-01-20 Thread Dave Newton
dusty wrote: Good luck with SEAM. And good luck to us incorporating some of its features--SEAM has a lot going for it. Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user

Re: Struts 2 session problem

2009-01-20 Thread dusty
more >> http://www.manning.com/wannemacher >> >> >> - >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >> For additional commands, e-mail: user-h...@strut

Re: Struts 2 session problem

2009-01-20 Thread RajibJana
etc. *expecting* them to be within the same > "conversation". > > -Dale > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > > -- View this message in context: http://www

Re: Struts 2 session problem

2009-01-19 Thread RajibJana
tional commands, e-mail: user-h...@struts.apache.org > > > -- View this message in context: http://www.nabble.com/Struts-2-session-problem-tp21513305p21558037.html Sent from the Struts - User mailing list archive at Nabble.com. --

Re: Struts 2 session problem

2009-01-19 Thread RajibJana
tional commands, e-mail: user-h...@struts.apache.org > > > -- View this message in context: http://www.nabble.com/Struts-2-session-problem-tp21513305p21558029.html Sent from the Struts - User mailing list archive at Nabble.com. --

Re: Struts 2 session problem

2009-01-19 Thread Dale Newfield
andrh...@hotmail.com wrote I agree with ya. I have been doing something very similar with hidden fields in my app for some time. If every request in your app is a POST, or if every link in your app is javascript that causes a POST, that's fine. I like using actual links, though, which resul

Re: Struts 2 session problem

2009-01-19 Thread Wes Wannemacher
On Tuesday 20 January 2009 00:01:22 RajibJana wrote: > Can I expect this feature in future version of S2? It will help the S2 > developers immensely, I bet. > > Thanks > Patches are always welcome! -Wes -- Wes Wannemacher Author - Struts 2 In Practice Includes coverage of Struts 2.1, Spring,

RE: Struts 2 session problem

2009-01-19 Thread RajibJana
gt;> Date: Mon, 19 Jan 2009 12:39:30 -0800 >> From: glindh...@yahoo.com >> To: user@struts.apache.org >> Subject: Re: Struts 2 session problem >> >> >> Yes, SEAM does: >> >> http://www.seamframework.org/Documentation/DoesSeamSupportMultipleB

Re: Struts 2 session problem

2009-01-19 Thread dusty
each has a "conversation" scope. >>>> So where most frameworks would drop stuff into session and the tabs >>>> would overwrite each others data, Seam doesn't. (It may still use >>>> session tied to a tab-specific key; I don't know the mechanism yet.

RE: Struts 2 session problem

2009-01-19 Thread Martin Gainty
: user@struts.apache.org > Subject: RE: Struts 2 session problem > Date: Mon, 19 Jan 2009 17:07:13 -0600 > > > I agree with ya. I have been doing something very similar with hidden fields > in my app for some time. The server knows if a new browser instance is > requested b

RE: Struts 2 session problem

2009-01-19 Thread Andy
based on keys. At the end of the day a servlet container creates a single session for a single workstation. > Date: Mon, 19 Jan 2009 12:39:30 -0800 > From: glindh...@yahoo.com > To: user@struts.apache.org > Subject: Re: Struts 2 session problem > > > Yes,

Re: Struts 2 session problem

2009-01-19 Thread Greg Lindholm
;> > to call it a limitation, I for one think this is the correct thing to >> do, >> > and since even IE8 starts doing this looks like it is. >> > >> > The solution for FF is to use profiles. Just google for 'Firefox >> multiple >> > sessions. >&g

Re: Struts 2 session problem

2009-01-19 Thread Jim Kiley
e it is. > > > > The solution for FF is to use profiles. Just google for 'Firefox multiple > > sessions. > > > > -Original Message- > > From: Greg Lindholm [mailto:glindh...@yahoo.com] > > Sent: January 19, 2009 2:19 PM > > To: user@stru

RE: Struts 2 session problem

2009-01-19 Thread Greg Lindholm
s to use profiles. Just google for 'Firefox multiple > sessions. > > -Original Message- > From: Greg Lindholm [mailto:glindh...@yahoo.com] > Sent: January 19, 2009 2:19 PM > To: user@struts.apache.org > Subject: Re: Struts 2 session problem > > > +1 > > I f

RE: Struts 2 session problem

2009-01-19 Thread Radu Solomon
From: Greg Lindholm [mailto:glindh...@yahoo.com] Sent: January 19, 2009 2:19 PM To: user@struts.apache.org Subject: Re: Struts 2 session problem +1 I find I need this all the time when developing; I want to login as 2 different users and test multi-user interactions. Currently I'm force

Re: Struts 2 session problem

2009-01-19 Thread Greg Lindholm
--- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > > -- View this message in context: http://www.nabble.com/Struts-2-session-problem-tp21513305p21549675.html Sent

Re: Struts 2 session problem

2009-01-19 Thread Dave Newton
dusty wrote: Creating a separate subsystem on the server to partition a single HTTP session for multiple users and maintain the conversation is classic overengineering. Seems like Seam has gone to a lot of trouble to provide just another way to persist state. It's not "over-engineering" to al

Re: Struts 2 session problem

2009-01-19 Thread stanlick
(It may still use > >> session tied to a tab-specific key; I don't know the mechanism yet.) > >> > >> Dave > >> > >> > >> - > >> To unsubscribe, e-mail: user-unsubscr..

Re: Struts 2 session problem

2009-01-19 Thread RajibJana
t;session" states. >>>> >>>> I could, say, have two tabs open, but each has a "conversation" scope. >>>> So where most frameworks would drop stuff into session and the tabs >>>> would overwrite each others data, Seam doesn't. (

Re: Struts 2 session problem

2009-01-18 Thread RajibJana
open, but each has a "conversation" scope. >>> So where most frameworks would drop stuff into session and the tabs >>> would overwrite each others data, Seam doesn't. (It may still use >>> session tied to a tab-specific key; I don't know the mechanism yet.) >>> >>> Dave >>> >>> >>&

Re: Struts 2 session problem

2009-01-18 Thread dusty
>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >> For additional commands, e-mail: user-h...@struts.apache.org >> >> >> > > -- View this message in context: http://www.nabble.com/Struts-2-session-problem-tp21513305p2153720

Re: Struts 2 session problem

2009-01-18 Thread RajibJana
> For additional commands, e-mail: user-h...@struts.apache.org > > > -- View this message in context: http://www.nabble.com/Struts-2-session-problem-tp21513305p21536971.html Sent from the Struts - User mailing list archive at Nabble.com.

Re: Struts 2 session problem

2009-01-18 Thread Struts Two
>option 2 and 3 are overheads for a large app This is an overstatment. The real question is whether This overhead causes major [performance, etc] problems for THE app , u are working on [not any large app], or not. And that is the question which you can only answer. regards, RajibJana wro

Re: Struts 2 session problem

2009-01-18 Thread Nils-Helge Garli Hegvik
I'm guessing conversations are just different "partitions" in the session. At least that's how I've seen it implemented before. And I don't see how that would "support" having multiple _users_ in the same session. Sure, you could probably emulate it in some way, but I have serious doubts if it woul

Re: Struts 2 session problem

2009-01-18 Thread Wes Wannemacher
On Sunday 18 January 2009 12:11:33 Dave Newton wrote: > > Check out the Seam conversation stuff. > > It allows the same user (or, I suppose, two different users, but that's > not its primary purpose) to have multiple "session" states. > > I could, say, have two tabs open, but each has a "conversati

Re: Struts 2 session problem

2009-01-18 Thread Dave Newton
Wes Wannemacher wrote: Two users are not going to share the same session. Each user will get a new session. That's how app servers work. Check out the Seam conversation stuff. It allows the same user (or, I suppose, two different users, but that's not its primary purpose) to have multiple "s

Re: Struts 2 session problem

2009-01-18 Thread RajibJana
>>> >>>>>> >>>>>> newton.dave wrote: >>>>>>> >>>>>>> Dale Newfield wrote: >>>>>>>> One running browser instance shares session across all windows. >>>>>

Re: Struts 2 session problem

2009-01-18 Thread Wes Wannemacher
On Sunday 18 January 2009 02:54:35 RajibJana wrote: > By conversation, I want to mean http session independent conversation. So > two simultaneous users sharing the same http session can work > independently, storing/retriving their own properties throughout the > application without having conflic

Re: Struts 2 session problem

2009-01-18 Thread Nils-Helge Garli Hegvik
m one >>>>>>> machine. >>>>>> >>>>>> The OP wants a SEAM-like solution, but S2 doesn't have that >>>>>> functionality built-in (nor do most other frameworks, AFAIK). >&g

Re: Struts 2 session problem

2009-01-17 Thread RajibJana
;>>> The OP wants a SEAM-like solution, but S2 doesn't have that >>>>> functionality built-in (nor do most other frameworks, AFAIK). >>>>> >>>>> It *would* be a nice feature to add, though. >>>>> >>>>>>> 2) If one opens two window instances ( not tabbed one), logs into >>

Re: Struts 2 session problem

2009-01-17 Thread Nils-Helge Garli Hegvik
>>>> I can never remember which is which, but IIRC IE (pre-6, don't remember >>>> after that) would give different sessions per-window, FF wouldn't. In >>>> any case, I agree that it's a bad idea to rely on browser behavior >>>> (unless you're cont

Re: Struts 2 session problem

2009-01-17 Thread RajibJana
I can never remember which is which, but IIRC IE (pre-6, don't remember >>> after that) would give different sessions per-window, FF wouldn't. In >>> any case, I agree that it's a bad idea to rely on browser behavior >>> (unless you're controlling browser deployment, but I don't like that >>>

Re: Struts 2 session problem

2009-01-17 Thread dusty
>> any case, I agree that it's a bad idea to rely on browser behavior >> (unless you're controlling browser deployment, but I don't like that >> much either :) >> >> Dave >> >> >> --------- >> To unsubscribe, e-m

Re: Struts 2 session problem

2009-01-17 Thread RajibJana
; > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > > -- View this message in contex

Re: Struts 2 session problem

2009-01-17 Thread RajibJana
two browser tabs open the application login page. > --------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > > -- View this message in

Re: Struts 2 session problem

2009-01-17 Thread RajibJana
tion breaks. >> 3) If the user opens a new browser instance, then a new >> session is created >> and both the windows have their own user id info( i.e. >> userid doesnt >> override) >> >> I tried the scope interceptor ( by starting a conversion), >&g

Re: Struts 2 session problem

2009-01-17 Thread Dave Newton
Dale Newfield wrote: One running browser instance shares session across all windows. Using Safari and Firefox in tandem will allow two sessions from one machine. The OP wants a SEAM-like solution, but S2 doesn't have that functionality built-in (nor do most other frameworks, AFAIK). It *wo

Re: Struts 2 session problem

2009-01-17 Thread Dale Newfield
RajibJana wrote: 1) if one opens a window and a tabbed window, logs into the application by giving different user id and password combinations, then two seperate sessions are not created. As a result, in the session map userid overrides each other and same user id ( last logged in user ) is shown

Re: Struts 2 session problem

2009-01-17 Thread Struts Two
17/09, RajibJana wrote: > From: RajibJana > Subject: Struts 2 session problem > To: user@struts.apache.org > Received: Saturday, January 17, 2009, 5:23 AM > Hi All, > > I am using struts 2.0.14 to build an enterprise > application. It uses spring, > hibernate, tile

Re: Struts 2 session problem

2009-01-17 Thread RajibJana
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > > -- View this message in context: http://www.nabble.com/Struts-2-session-problem-tp21513305p21517802.html Sen

Re: Struts 2 session problem

2009-01-17 Thread Dave Newton
Deepak Kumar wrote: Please check http://www.roseindia.net/struts/struts2/struts2-login.shtml I don't see how that addresses the issue at all; perhaps you could explain further? Thanks, Dave - To unsubscribe, e-mail: user-u

RE: Struts 2 session problem

2009-01-17 Thread Deepak Kumar
Please check http://www.roseindia.net/struts/struts2/struts2-login.shtml Thanks -Original Message- From: RajibJana [mailto:rajibj...@gmail.com] Sent: Saturday, January 17, 2009 4:35 PM To: user@struts.apache.org Subject: Re: Struts 2 session problem Seems to me S2 can not give better

Re: Struts 2 session problem

2009-01-17 Thread RajibJana
; >> > each >> >> > request URL. This is a very bad way to do it because it will be easy >> to >> >> > hijack >> >> > a session. Especially in cases where the user is clicking a link and >> >> the >> >> > ke

Re: Struts 2 session problem

2009-01-17 Thread abhishek reddy
es where the user is clicking a link and > >> the > >> > key > >> > will be visible in the GET request. > >> > > >> > I would consider whether your requirement is a development-time > >> > requirement... > >> > Meaning, is this something you need for testing your a

Re: Struts 2 session problem

2009-01-17 Thread RajibJana
users will need? If it is something that the users need, consider >> re- >> > factoring before you hide key fields as I suggest above. If this is >> > something >> > you need for testing and development, then try to find a browser plugin >> > that >>

Re: Struts 2 session problem

2009-01-17 Thread abhishek reddy
ntrol over your cookies so that you can > control > > the > > sessions while you work. > > > > -Wes > > > > -- > > > > Wes Wannemacher > > Author - Struts 2 In Practice > > Includes coverage of Struts 2.1, Spring,

Re: Struts 2 session problem

2009-01-17 Thread RajibJana
while you work. > > -Wes > > -- > > Wes Wannemacher > Author - Struts 2 In Practice > Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more > http://www.manning.com/wannemacher > > > ---------

Re: Struts 2 session problem

2009-01-16 Thread Wes Wannemacher
On Saturday 17 January 2009 00:23:49 RajibJana wrote: > > 1) A User opens a browser window( IE 7/Firfox) and logs in the application > as User X and the application shows the logged in userid as X and DB > transactions also get userid info as X. > 2) The same user opens a bowser tab or new window f

Struts 2 session problem

2009-01-16 Thread RajibJana
( by starting a conversion), but the result is same( i.e. could not get new session in a window tab). I searched for a solution, could not get a solution. Please suggest how to get rid of this problem. Thanks Rajib -- View this message in context: http://www.nabble.com/Struts-2-session

RE: Session problem unidentified

2008-10-23 Thread Dave Newton
--- On Thu, 10/23/08, MyAshok wrote: > Inside my action method the User object is populated via autowiring. Have you read the Spring documentation? This seems more a Spring issue than Struts, really. I used Google and searched for "spring 2.0 session scope" and the hits seemed relevant to your

RE: Session problem unidentified

2008-10-23 Thread MyAshok
PM > To: user@struts.apache.org > Subject: Session problem unidentified > > > Hi all, > > I got a critical problem. > My Application Environment - Struts 2 Application, Spring injection for > dao, > Hiberanate3 > > Scenerio > > 1) When user A lo

RE: Session problem unidentified

2008-10-10 Thread Kawczynski, David
ginal Message- From: MyAshok [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2008 4:07 PM To: user@struts.apache.org Subject: Session problem unidentified Hi all, I got a critical problem. My Application Environment - Struts 2 Application, Spring injection for dao, Hiberanate3 Sce

Re: Session problem unidentified

2008-10-09 Thread Dave Newton
--- On Thu, 10/9/08, MyAshok wrote: > 1) When user A logged in and add a new user x (which sets > the selectedUser (gettersettervariable) to Null). > 2) At the same time, user B logged in and edit a existing > user (which sets the selectedUser to some value). > 3) Now, the user A save the entries,

Session problem unidentified

2008-10-09 Thread MyAshok
the problem with the HibernateSession or HttpSession. Can u please give me solutions. Waiting for the helpful solution with hope. With Regards, Ashok -- View this message in context: http://www.nabble.com/Session-problem-unidentified-tp19906321p19906321.html Sent from the Struts - User mailing

Re: Need help with Struts Interceptor/session problem.

2008-02-20 Thread Dave Newton
--- daveck <[EMAIL PROTECTED]> wrote: > In our situation, some products are free while others are not. There's an > interceptor stack for each. All are dynamically generated immediately as an > html page or a pdf. An order is only generated for the products that > aren't free. For those, once th

Re: Need help with Struts Interceptor/session problem.

2008-02-20 Thread daveck
ationInterceptor. Does an interceptor make more sense in this case? You've got me thinking. Thanks. -- View this message in context: http://www.nabble.com/Need-help-with-Struts-Interceptor-session-problem.-tp15598155p15600866.ht

Re: Need help with Struts Interceptor/session problem.

2008-02-20 Thread Dave Newton
--- daveck <[EMAIL PROTECTED]> wrote: > The product is a generated and delivered (as a pdf) right after the user > clicks on the Confirm button. > I thought that the use of an interceptor for this purpose was ideal, but > I'm a Struts novice and far from an expert Java programmer. Can you > expla

Re: Need help with Struts Interceptor/session problem.

2008-02-20 Thread daveck
-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Need-help-with-Struts-Interceptor-session-problem.-tp15598155p15599632.html Sent from the Struts - User mailing list archive at Nabble.com.

Re: Need help with Struts Interceptor/session problem.

2008-02-20 Thread Dave Newton
--- daveck <[EMAIL PROTECTED]> wrote: > Sometimes "PARMS" manages to keep its value, and sometimes > the value disappear. I don't see anything immediately obvious; IIRC you had already checked the session ID to make sure you were always dealing with the same session, correct? Have you done exten

Need help with Struts Interceptor/session problem.

2008-02-20 Thread daveck
execute execute -- View this messag

Re: Session problem

2007-08-28 Thread Dave Newton
--- Mark Rollins <[EMAIL PROTECTED]> wrote: > I just haven't got round to finding out what I need > to do to Struts to get it to inject into an Action > class, yet. Set the object factory as Spring, provide a setter in the action class, and name the Spring bean the same name as the setter, so I

Re: Session problem

2007-08-28 Thread Mark Rollins
d. -- View this message in context: http://www.nabble.com/Session-problem-tf4324658.html#a12365492 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Session problem

2007-08-27 Thread Dave Newton
a second (3rd, 4th, ...) > browser the way you > started the first if you truly want unique session > ids. > > Scott > > > -- > View this message in context: > http://www.nabble.com/Session

Re: Session problem

2007-08-27 Thread Mark Rollins
ually it is two browser "windows" over the same session! You must start a second (3rd, 4th, ...) browser the way you started the first if you truly want unique session ids. Scott -- View this message in context: http://www.nabble.com/Session-problem-tf4324658.html#a12354179 Sent

Re: Session problem

2007-08-27 Thread stanlick
tead of this.session = map; > > > > > > -Rod > > > > > > > > > -Original Message----- > > > From: Mark Rollins [mailto:[EMAIL PROTECTED] > > > Sent: Saturday, August 25, 2007 05:47 > > > To: user@struts.apache.org > > >

Re: Session problem

2007-08-26 Thread Pavel Sapozhnikov
ue but I do see a typo in setSession()... > > > > It should be: this.session = session; instead of this.session = map; > > > > -Rod > > > > > > -Original Message- > > From: Mark Rollins [mailto:[EMAIL PROTECTED] > > Sent: Satur

RE: Session problem

2007-08-26 Thread Mark Rollins
l Message- > From: Mark Rollins [mailto:[EMAIL PROTECTED] > Sent: Saturday, August 25, 2007 05:47 > To: user@struts.apache.org > Subject: Re: Session problem > > > > This is my first Struts app, so it's quite simplistic. What I'm trying to > achieve is to

RE: Session problem

2007-08-25 Thread Rod Bollinger
: Session problem This is my first Struts app, so it's quite simplistic. What I'm trying to achieve is to lock down certain processes so that only one user can run them at a time. I intended to do this by having an application variable holding the User object for the user currently r

Re: Session problem

2007-08-25 Thread Mark Rollins
27;s ID. It's almost like we're writing to >>>> the application rather than the session. >>>> >>>> Any ideas where I'm going wrong? >>> Not with so little information to go on. >>> >>> Is the "second user's login" happening from a >>> different machine and /

Re: Session problem

2007-08-24 Thread Laurie Harper
You have some cross-talk somewhere in your code, by the sound of it. Take a look at any code that touches the session; you probably have something somewhere that's at the wrong scope (in application scope when it should be session/request, a Spring bean accidentally configured as singleton scop

Re: Session problem

2007-08-24 Thread MARollins
ith so little information to go on. > > Is the "second user's login" happening from a > different machine and / or different browser? > > d. > > > --------- > To unsubscribe, e-mail: [EMAIL PROTECTED] >

Re: Session problem

2007-08-24 Thread Dave Newton
--- MARollins <[EMAIL PROTECTED]> wrote: > I'm having a problem whereby objects saved on the > Session are visible to other sessions. > > For example, the login page saves a new User object > on the session using session.put (I have a base class > for all my Actions which implements SessionAware

Session problem

2007-08-24 Thread MARollins
ables). When a second user logs on, the first user then sees the second user's ID. It's almost like we're writing to the application rather than the session. Any ideas where I'm going wrong? Thanks -- View this message in context: http://www.nabble.com/Session-problem-tf43

RE: Session problem

2005-12-07 Thread Max Cooper
; Sent: Wednesday, December 07, 2005 11:34 AM > To: Struts Users Mailing List > Subject: Re: Session problem > > Baker, Russ A wrote: > > >A session is created by virtue of them just getting to the login page. > >If the user logs in successfully to the system they now have

RE: Session problem

2005-12-07 Thread Baker, Russ A
So then where is that straggler session coming from? -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 07, 2005 11:34 AM To: Struts Users Mailing List Subject: Re: Session problem Baker, Russ A wrote: >A session is created by virtue of them j

Re: Session problem

2005-12-07 Thread Dave Newton
Baker, Russ A wrote: A session is created by virtue of them just getting to the login page. If the user logs in successfully to the system they now have 2 sessions instead the desired result having only one that is assigned to them when they successful login. That is a waste of memory! Two se

RE: Re: Session problem

2005-12-07 Thread gramani
"James Harig" <[EMAIL PROTECTED]> wrote on 12/07/2005 12:50:06 PM: > >> > >> To facilitate these items, you will need some method of informing > >> your webapplication that the server is going to be shutdown. One > >> way to do this would be to set a flag in the application context; > >> ano

RE: Re: Session problem

2005-12-07 Thread gramani
"James Harig" <[EMAIL PROTECTED]> wrote on 12/07/2005 12:50:06 PM: > >> > >> To facilitate these items, you will need some method of informing > >> your webapplication that the server is going to be shutdown. One > >> way to do this would be to set a flag in the application context; > >> ano

RE: Re: Session problem

2005-12-07 Thread James Harig
to stop the shutdown process once it starts. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 07, 2005 12:40 PM To: Struts Users Mailing List Cc: Struts Users Mailing List Subject: RE: Re: Session problem "James Harig" <[EMA

RE: Re: Session problem

2005-12-07 Thread Frank W. Zammetti
essions that are >>being handed out by Struts. > > It sounds like you need to implement the concept of "LoginSession", to > count the number of users that are logged in. > > > > > -Original Message- > From: Baker, Russ A [mailto:[EMAIL PROTECTE

RE: Re: Session problem

2005-12-07 Thread gramani
"James Harig" <[EMAIL PROTECTED]> wrote on 12/07/2005 11:53:15 AM: > > To facilitate these items, you will need some method of informing > your webapplication that the server is going to be shutdown. One > way to do this would be to set a flag in the application context; > another way is to

RE: Re: Session problem

2005-12-07 Thread James Harig
---Original Message- From: Baker, Russ A [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 07, 2005 12:10 PM To: Struts Users Mailing List Subject: RE: Re: Session problem No, sorry if I was being vague. I don't want Struts to create a session simply by accessing an action; I want to c

RE: Re: Session problem

2005-12-07 Thread Baker, Russ A
out. So I don't know if a person is still logged in, or if it is those extra sessions that are being handed out by Struts. Capiche? -Original Message- From: James Harig [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 07, 2005 9:53 AM To: Struts Users Mailing List Subject: RE: Re

RE: Session problem

2005-12-07 Thread Baker, Russ A
possibly creating a session and putting the default locale in it? -Original Message- From: Ed Griebel [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 07, 2005 8:22 AM To: Struts Users Mailing List Subject: Re: Session problem One second is much too short as most users won't be ab

RE: Re: Session problem

2005-12-07 Thread James Harig
ilto:[EMAIL PROTECTED] Sent: Wednesday, December 07, 2005 10:09 AM To: Struts Users Mailing List Subject: Re: Re: Session problem The key is to not put anything in your session. Actions are the obvious place to look for things being stuffed into the session (via request.getSession().get/setAttribu

Re: Session problem

2005-12-07 Thread Ed Griebel
ve open sessions, they can complete what they are doing. The other > >alternative is to force shutdown, but I am afraid I will make enemies if > >I do that... > > > >-Original Message- > >From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper > >

Re: Re: Session problem

2005-12-07 Thread Ed Griebel
Tuesday, December 06, 2005 3:53 PM > To: user@struts.apache.org > Subject: Re: Session problem > > Baker, Russ A wrote: > > Hello, > > > > I am trying to figure out how to stop Struts from creating a session. > > What seems to happen is that once I call an action, a

Re: Session problem

2005-12-06 Thread Yujun Liang
The session is not created by Struts, it is the behaviour of web (servlet) container. http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/http/HttpSession.html http://e-docs.bea.com/wls/docs81/servlet/progtasks.html#159622 However, you can configure Session Persistence with WebLogic Server

Re: Session problem

2005-12-06 Thread Ross Gibb
cember 06, 2005 3:53 PM To: user@struts.apache.org Subject: Re: Session problem Baker, Russ A wrote: Hello, I am trying to figure out how to stop Struts from creating a session. What seems to happen is that once I call an action, a session is created. This is a problem because when I want to

RE: Re: Session problem

2005-12-06 Thread Baker, Russ A
TECTED] On Behalf Of Laurie Harper Sent: Tuesday, December 06, 2005 3:53 PM To: user@struts.apache.org Subject: Re: Session problem Baker, Russ A wrote: > Hello, > > I am trying to figure out how to stop Struts from creating a session. > What seems to happen is that once I call a

Re: Session problem

2005-12-06 Thread Laurie Harper
Baker, Russ A wrote: Hello, I am trying to figure out how to stop Struts from creating a session. What seems to happen is that once I call an action, a session is created. This is a problem because when I want to gracefully shut down my server, it complains that I still have an active session. I

Re: Session problem

2005-12-06 Thread Ross Gibb
What server are you using? Baker, Russ A wrote: Hello, I am trying to figure out how to stop Struts from creating a session. What seems to happen is that once I call an action, a session is created. This is a problem because when I want to gracefully shut down my server, it complains that I

Session problem

2005-12-06 Thread Baker, Russ A
Hello, I am trying to figure out how to stop Struts from creating a session. What seems to happen is that once I call an action, a session is created. This is a problem because when I want to gracefully shut down my server, it complains that I still have an active session. Is there a way to con

SV: Session Problem

2005-08-16 Thread hermod . opstvedt
Hi Yes, indeed this will happen: use geSession() or getSession(false), also avoid redirect combined with this. Hermod -Opprinnelig melding- Fra: Senthilrajan VS [mailto:[EMAIL PROTECTED] Sendt: 16. august 2005 11:08 Til: Sturts Mailing list Emne: Session Problem Hi all, I am having

Session Problem

2005-08-16 Thread Senthilrajan VS
Hi all, I am having serious session problem in some of the browsers(Not all). I'm using struts. In the Action class I am using HttpSession Session=request.getSession(true); to get the session and I'm keep on calling this action for different condition. The problem is For each req

  1   2   >