Re: Struts 2, Session Management and WorkFlow.

2010-09-17 Thread RogerV
about this, I'd be happy to try the new interceptor. How do you want to proceed? Regards -- View this message in context: http://old.nabble.com/Struts-2%2C-Session-Management-and-%22WorkFlow%22.-tp29726121p29735458.html Sent from the Struts - User mailing list archive at Nabble.com

Re: Struts 2, Session Management and WorkFlow.

2010-09-17 Thread Rahul Mohan
the new interceptor. How do you want to proceed? Regards -- View this message in context: http://old.nabble.com/Struts-2%2C- Session-Management-and-%22WorkFlow%22.-tp29726121p29735458.html Sent from the Struts - User mailing list archive at Nabble.com

Re: Struts 2, Session Management and WorkFlow.

2010-09-17 Thread RogerV
Hi Rahul, Please send it to rogerdotvarleyatgooglemaildotcom Thanks Roger -- View this message in context: http://old.nabble.com/Struts-2%2C-Session-Management-and-%22WorkFlow%22.-tp29726121p29736089.html Sent from the Struts - User mailing list archive at Nabble.com

Struts 2, Session Management and WorkFlow.

2010-09-16 Thread RogerV
-- View this message in context: http://old.nabble.com/Struts-2%2C-Session-Management-and-%22WorkFlow%22.-tp29726121p29726121.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user

Re: Struts 2, Session Management and WorkFlow.

2010-09-16 Thread Paweł Wielgus
techniques/patterns is everyone using to handle this? Regards -- View this message in context: http://old.nabble.com/Struts-2%2C-Session-Management-and-%22WorkFlow%22.-tp29726121p29726121.html Sent from the Struts - User mailing list archive at Nabble.com

Re: Struts 2, Session Management and WorkFlow.

2010-09-16 Thread RogerV
://old.nabble.com/Struts-2%2C-Session-Management-and-%22WorkFlow%22.-tp29726121p29726763.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands

Re: Struts 2, Session Management and WorkFlow.

2010-09-16 Thread Paweł Wielgus
Hi Roger, That would work in this case, but my interceptor would be specific to the wizard. If I then introduced a second wizard, then I'd need another interceptor to handle that one. I was hoping for something a little more generic. Won't You also add more bussiness logic if You add

Re: Struts 2, Session Management and WorkFlow.

2010-09-16 Thread Dave Newton
an attempt to do what I want to do, has anyone used it in anger, or is there something similair out there? Regards -- View this message in context: http://old.nabble.com/Struts-2%2C-Session-Management-and-%22WorkFlow%22.-tp29726121p29726763.html Sent from the Struts - User mailing list archive

Re: Struts 2, Session Management and WorkFlow.

2010-09-16 Thread RogerV
in context: http://old.nabble.com/Struts-2%2C-Session-Management-and-%22WorkFlow%22.-tp29726121p29727312.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr

Re: Struts 2, Session Management and WorkFlow.

2010-09-16 Thread Paweł Wielgus
Agreed, but how do you check that the hidden ids that come back with the submit are the ones that you sent in the first place? It's not that hard to use something like HttpClient to send malicious POST's Yes, it's possible but not likely, in general users use multiple tabs, and they don't use

RE: Struts 2, Session Management and WorkFlow.

2010-09-16 Thread Martin Gainty
resource - the HttpSession. Regards -- View this message in context: http://old.nabble.com/Struts-2%2C-Session-Management-and-%22WorkFlow%22.-tp29726121p29727312.html Sent from the Struts - User mailing list archive at Nabble.com

Re: Struts 2, Session Management and WorkFlow.

2010-09-16 Thread Dave Newton
On Thu, Sep 16, 2010 at 7:57 AM, Martin Gainty wrote: com.opensymphony.xwork2.ValidationAware    /**     * Set the field error map of fieldname (String) to Collection of String error messages.     * @param errorMap field error map     */    void setFieldErrors(MapString, ListString

Re: Struts 2, Session Management and WorkFlow.

2010-09-16 Thread RogerV
. Regards -- View this message in context: http://old.nabble.com/Struts-2%2C-Session-Management-and-%22WorkFlow%22.-tp29726121p29727862.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e

Re: Struts 2, Session Management and WorkFlow.

2010-09-16 Thread Dave Newton
://old.nabble.com/Struts-2%2C-Session-Management-and-%22WorkFlow%22.-tp29726121p29727862.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional

Re: Struts 2, Session Management and WorkFlow.

2010-09-16 Thread RogerV
this message in context: http://old.nabble.com/Struts-2%2C-Session-Management-and-%22WorkFlow%22.-tp29726121p29728192.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr

Re: Struts 2, Session Management and WorkFlow.

2010-09-16 Thread RogerV
insights? Regards Doh! This wouldn't be the raison d'etre for the Scope plugin by any chance? -- View this message in context: http://old.nabble.com/Struts-2%2C-Session-Management-and-%22WorkFlow%22.-tp29726121p29728230.html Sent from the Struts - User mailing list archive at Nabble.com

Re: Struts 2, Session Management and WorkFlow.

2010-09-16 Thread Paweł Wielgus
Hi all, i've just read about Seam, and if i understand it wright, creation of Conversation is made by annotation, so it's not an automatic decision of the framework but just a developer decision in action code to create a conversation. Unlikely in an Intranet environment prehaps, but there are

Re: Struts 2, Session Management and WorkFlow.

2010-09-16 Thread Rahul Mohan
Date: 16-09-2010 18:34 Subject: Re: Struts 2, Session Management and WorkFlow. RogerV wrote: Dave Newton-6 wrote: Correct--the essence of implementation is just a dual-layer context with the additional key passed back and forth (I assume for every request). Hi Dave

Re: Struts 2, Session Management and WorkFlow.

2010-09-16 Thread RogerV
supports a single conversation, which of course doesn't help with supporting multiple tabs. Is this still the case, or is the page out of date? Regards -- View this message in context: http://old.nabble.com/Struts-2%2C-Session-Management-and-%22WorkFlow%22.-tp29726121p29728740.html Sent from

Re: Struts 2, Session Management and WorkFlow.

2010-09-16 Thread Dave Newton
, or is the page out of date? Regards -- View this message in context: http://old.nabble.com/Struts-2%2C-Session-Management-and-%22WorkFlow%22.-tp29726121p29728740.html Sent from the Struts - User mailing list archive at Nabble.com

Re: Struts 2, Session Management and WorkFlow.

2010-09-16 Thread Rahul Mohan
rahulmohan wrote: Exactly! I think scope plugin solves your problem. The conversation support in scope plugin is not as rich as that in seam, but can serve as the starting point. I have fixed a couple of bugs in the scope plugin and I am working on some enhancements in scope

Session Management

2009-04-16 Thread Baran
the action requests are via javascript. Any help would be appreciated. Baran -- View this message in context: http://www.nabble.com/Session-Management-tp23074591p23074591.html Sent from the Struts - User mailing list archive at Nabble.com

Re: Session Management

2009-04-16 Thread Paweł Wielgus
://www.nabble.com/Session-Management-tp23074591p23074591.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h

Re: Session Management

2009-04-16 Thread Baran
in context: http://www.nabble.com/Session-Management-tp23074591p23074591.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands

Re: Session Management

2009-04-16 Thread Lukasz Lenart
package example3; import com.opensymphony.xwork2.Action; import com.opensymphony.xwork2.ActionInvocation; import com.opensymphony.xwork2.interceptor.Interceptor; /** * * @author Lukasz */ public class LoginInterceptor implements Interceptor { public void destroy() { } public

Re: Session Management

2009-04-16 Thread Baran
/ - 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/Session-Management-tp23074591p23075474.html Sent from

Re: Session Management

2009-04-16 Thread Paweł Wielgus
://www.nabble.com/Session-Management-tp23074591p23075474.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h

Re: Session Management

2009-04-16 Thread Baran
guess the whole thing is working fine. Regards, Baran -- View this message in context: http://www.nabble.com/Session-Management-tp23074591p23076002.html Sent from the Struts - User mailing list archive at Nabble.com

Re: Session Management

2009-04-16 Thread Paweł Wielgus
this message in context: http://www.nabble.com/Session-Management-tp23074591p23076002.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional

Re: Session Management

2009-04-16 Thread Baran
is working fine. Regards, Baran -- View this message in context: http://www.nabble.com/Session-Management-tp23074591p23076002.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user

Re: session management

2009-02-20 Thread Paweł Wielgus
){ % ///if not log % } else{ response.sendRedirect(./index.jsp); } % //logout % session.removeAttribute(userName); session.invalidate(); response.sendRedirect(./welcome.jsp); % -- View this message in context: http://www.nabble.com/session-management-tp22054409p22114881.html Sent from

Re: session management

2009-02-20 Thread Dave Newton
mthalis wrote: i have already implemented login, logout parts using struts(jsp). But the case is after logged out, when i press back button it is redirected to the particular page that i was in before logged out. these are my codings, and plz kind enough to give me reasonable answer. //set

Re: session management

2009-02-19 Thread mthalis
){ % ///if not log % } else{ response.sendRedirect(./index.jsp); } % //logout % session.removeAttribute(userName); session.invalidate(); response.sendRedirect(./welcome.jsp); % -- View this message in context: http://www.nabble.com/session-management-tp22054409p22114881.html Sent from

session management

2009-02-17 Thread mthalis
); } % //logout % session.removeAttribute(userName); session.invalidate(); response.sendRedirect(./welcome.jsp); % -- View this message in context: http://www.nabble.com/session-management-tp22054409p22054409.html Sent from the Struts - User mailing list archive at Nabble.com

Re: session management

2009-02-17 Thread Paweł Wielgus
% session.removeAttribute(userName); session.invalidate(); response.sendRedirect(./welcome.jsp); % -- View this message in context: http://www.nabble.com/session-management-tp22054409p22054409.html Sent from the Struts - User mailing list archive at Nabble.com

Session management when using IE 7

2008-07-28 Thread OTA_DZ
have the problem when using 2 different instance of my browser in 2 machine or in the same machine. Could you please help me? Thanks. -- View this message in context: http://www.nabble.com/Session-management-when-using-IE-7-tp18688636p18688636.html Sent from the Struts - User mailing list

[OT] Re: Session management when using IE 7

2008-07-28 Thread Dave Newton
--- On Mon, 7/28/08, OTA_DZ [EMAIL PROTECTED] wrote: I think there is an overlapping of session in my application. Technically it's an overlapping of sessions in the browser. Different browsers handle these things differently; in general tabbed browsing will share a single session. That's not

Re: [OT] Re: Session management when using IE 7

2008-07-28 Thread Gabriel Belingueres
You may want to add support for conversation scope to your application so that objects stored in session scope doesn't get mixed up. 2008/7/28, Dave Newton [EMAIL PROTECTED]: --- On Mon, 7/28/08, OTA_DZ [EMAIL PROTECTED] wrote: I think there is an overlapping of session in my application.

Session Management

2007-03-15 Thread Maya menon
All, I have couple of questions while designing a web app using struts. My application uses Httpsession variables. 1. How do we handle a user from opening duplicate sessions ? Like if a user is already logged in, if he/she tries to login again, system should mention that user is already

RE: Session Management

2007-03-15 Thread manoj.tripathi
contains it you need to reset it Regards -Original Message- From: Maya menon [mailto:[EMAIL PROTECTED] Sent: 15 March 2007 16:43 To: user@struts.apache.org Subject: Session Management All, I have couple of questions while designing a web app using struts. My application uses Httpsession

MS Word IE , struts and session management

2006-11-16 Thread Andy Foster
Hi all, This has totally baffled me and I desperately need help but I have a link as follows that I have put in a Microsoft word document that calls my struts action to display the specified resource. This was tested to be the same with IE6 or IE7 so its not the browser version causing the issue

Re: session management

2006-10-04 Thread purushottam hegde
So you know when exactly 30 mins elapses? right.? immedietly after this you can invalidate the session right? Regards PH On 10/3/06, sowjanya chimmani [EMAIL PROTECTED] wrote: Hi All, In our webapplication (struts based) we are using Ajax code (as part of header in all

Re: session management

2006-10-04 Thread Ed Griebel
It is not clear what you are asking. Is the problem that - the session is not being maintained even when setting the timeout to 30 minutes - even after 1/2 hour the session does not timeout An observation, pinging the server every 10 seconds will create a lot of unnecessary work on the server.

session management

2006-10-03 Thread sowjanya chimmani
Hi All, In our webapplication (struts based) we are using Ajax code (as part of header in all jsp)which will hits the server for every 10 sec so every time session will be updated so it is not possible to maintain the session (sesstion will not expires though after the session time

Session management

2006-08-27 Thread Anil Kumar T
Hi All, Can some one help me in understanding the session management with struts? How to do this with struts? I tried doing it in all the actions, but am not sure what am doing wrong, it does not work. Can any body help me on this. Any links, sample codes etc would be of great help. Anil

Re: Session Management Within Webapp 2 (jsessionid)s

2005-10-25 Thread Jim Reynolds
returns false are your returning true/false? c)are you catching the IllegalStateException ??? Anyone else ? M- - Original Message - From: Jim Reynolds [EMAIL PROTECTED] To: user@struts.apache.org Sent: Monday, October 24, 2005 10:57 AM Subject: Session Management Within Webapp 2

Session Management Within Webapp 2 (jsessionid)s

2005-10-24 Thread Jim Reynolds
I have a project which I am working on. It does not have any type of form login. It is just a merchant-type site. When client hits the URL, the index.jsp calls a forward like so: logic:forward name=welcome / This of course sends the request to the struts-config.do. I extended the

Re: Session Management Within Webapp 2 (jsessionid)s

2005-10-24 Thread Martin Gainty
then the method returns false are your returning true/false? c)are you catching the IllegalStateException ??? Anyone else ? M- - Original Message - From: Jim Reynolds [EMAIL PROTECTED] To: user@struts.apache.org Sent: Monday, October 24, 2005 10:57 AM Subject: Session Management Within Webapp

RE: Newbie Question : Session Management without cookies

2005-05-30 Thread Andy
Sorry, have I missed something - where is the need to rewrite the URL yourself? Java/Struts session management uses a cookie, when supported by the browser, otherwise a jsession id is appended to the URL and this is done automatically with the need to manually rewrite the URL yourself (thank

Re: Newbie Question : Session Management without cookies

2005-05-29 Thread Mark Breitner
Nachricht --- Von: Dave Newton [EMAIL PROTECTED] An: Struts Users Mailing List user@struts.apache.org Betreff: Re: Newbie Question : Session Management without cookies Datum: Fri, 27 May 2005 11:12:59 -0400 Nils Liebelt wrote: Have a look at J2ee Specs first. So you get an idea

Re: Newbie Question : Session Management without cookies

2005-05-29 Thread Martin Gainty
Question : Session Management without cookies Hi - thanks for your answer. I am looking for a way to let strtuts automatically rewrite the urls. But in the book I am reading right now I can´t find any hint on how to do this. Can you tell me how to rewrite the urls, so that user / pwd are send

Newbie Question : Session Management without cookies

2005-05-27 Thread Mark Breitner
Hello, I just started with struts and wanted to implement an application that is able to do session management (f.e. user + password) even if the user has turned cookies off. what is the best way to do this ? With kind regards Mark Breitner -- Weitersagen: GMX DSL-Flatrates mit Tempo

RE: Newbie Question : Session Management without cookies

2005-05-27 Thread Nils Liebelt
Hi Mark, Have a look at J2ee Specs first. So you get an idea of the session concept. Regards, Nils -Original Message- From: Mark Breitner [mailto:[EMAIL PROTECTED] Sent: Friday, May 27, 2005 4:34 PM To: user@struts.apache.org Subject: Newbie Question : Session Management without

RE: Newbie Question : Session Management without cookies

2005-05-27 Thread Nils Liebelt
Hi Mark, Have a look at J2ee Specs first. So you get an idea of the session concept. Regards, Nils -Original Message- From: Mark Breitner [mailto:[EMAIL PROTECTED] Sent: Friday, May 27, 2005 4:34 PM To: user@struts.apache.org Subject: Newbie Question : Session Management without

Re: Newbie Question : Session Management without cookies

2005-05-27 Thread Dave Newton
Nils Liebelt wrote: Have a look at J2ee Specs first. So you get an idea of the session concept. -Original Message- From: Mark Breitner [mailto:[EMAIL PROTECTED] Sent: Friday, May 27, 2005 4:34 PM Subject: Newbie Question : Session Management without cookies I just started

Re: Problems with Opera, Struts and Session Management?

2004-05-28 Thread Michael McGrady
I probably should have added that in my ForwardAction I convert a path from the ActionMapping so that users can be allocated a particular look and feel that they have chosen on the website. The line that is related to the Opera failure is: return new ActionForward(layout1.layout + _ +

Re: Problems with Opera, Struts and Session Management?

2004-05-28 Thread Rick Reumann
Michael McGrady wrote: I probably should have added that in my ForwardAction I convert a path from the ActionMapping so that users can be allocated a particular look and feel that they have chosen on the website. The line that is related to the Opera failure is: return new

Re: Problems with Opera, Struts and Session Management?

2004-05-28 Thread Michael McGrady
No, this is not correct, Rick. The null pointer is for the reference to the Layout object in the session, which in fact is there. When I have the index page check to see if the object is there, Opera does not have a problem on OTHER pages. Odd? It is as if the placement of that object in

Re: Problems with Opera, Struts and Session Management?

2004-05-28 Thread Rick Reumann
Michael McGrady wrote: No, this is not correct, Rick. The null pointer is for the reference to the Layout object in the session, which in fact is there. When I have the index page check to see if the object is there, Opera does not have a problem on OTHER pages. Odd? It is as if the

Re: Problems with Opera, Struts and Session Management?

2004-05-28 Thread Michael McGrady
Heh, Rick, I said it was impossible first. I agree with everything you say and I know the computer is always right. But, this is what I see and I have reported it accurately, I think. Regarding what you did not know I meant. I thought I explained it but I will try again, and try to do

Re: Problems with Opera, Struts and Session Management?

2004-05-28 Thread Michael McGrady
This is an excellent suggestion. I tried hard coding the value that layout1.layout should be giving and everything worked. I also tried testing to see if layout1 was null, and it was. Since layout1.layout is a value I want to use throughout the session, always, and is a value that is only