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

Re: Struts 2, Session Management and "WorkFlow".

2010-09-16 Thread Rahul Mohan
t; Given that it's me who is bleating 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.-tp

Re: Struts 2, Session Management and "WorkFlow".

2010-09-16 Thread RogerV
Given that it's me who is bleating 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 - Use

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

Re: Struts 2, Session Management and "WorkFlow".

2010-09-16 Thread Dave Newton
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

Re: Struts 2, Session Management and "WorkFlow".

2010-09-16 Thread RogerV
pe-plugin.html states that the current plugin only 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-%2

Re: Struts 2, Session Management and "WorkFlow".

2010-09-16 Thread Rahul Mohan
ate: 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 passe

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 RogerV
ml#a7364935, > it would appear that it either proved too complicated or there was > insufficient "push". Any 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.

Re: Struts 2, Session Management and "WorkFlow".

2010-09-16 Thread RogerV
t;. Any insights? Regards -- View 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. -

Re: Struts 2, Session Management and "WorkFlow".

2010-09-16 Thread Dave Newton
n the issues involved with multi tab processing and > concludes that none of Spring WebFlow, JBoss Seam or Apache Wicket actually > get it right 100%. > > Given that multi tab browsing has been around for a while now and even core > Struts seems to assume single window access to the sess

Re: Struts 2, Session Management and "WorkFlow".

2010-09-16 Thread RogerV
been around for a while now and even core Struts seems to assume single window access to the session is the norm, perhaps I'm just being over cautious. Regards -- View this message in context: http://old.nabble.com/Struts-2%2C-Session-Management-and-%22WorkFlow%22.-tp29726121p29727862.ht

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(Map> errorMap); > > fie

RE: Struts 2, Session Management and "WorkFlow".

2010-09-16 Thread Martin Gainty
fet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Thu, 16 Sep 2010 04:16:28 -0700 > From: roger.var...@googlemail.com > To: user@struts.apache.org &

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

Re: Struts 2, Session Management and "WorkFlow".

2010-09-16 Thread RogerV
threads accessing an unsynchronized common 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
tecting malicious update attempts - I can check that the > customerId/OrderId coming back are the ids that I originally sent - for > example. > > I found this > http://www.vitara.org/cms/struts_2_cookbook/using_a_conversation_scope - > which looks like an attempt to do what I want to do, has anyone u

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 ano

Re: Struts 2, Session Management and "WorkFlow".

2010-09-16 Thread RogerV
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 at Nabble.com. --

Re: Struts 2, Session Management and "WorkFlow".

2010-09-16 Thread Paweł Wielgus
er "activity" that *absolutely > must* be a session singleton. That is, it cannot start if the user is > running another action, and while it's active, the user cannot start another > action. What techniques/patterns is everyone using to handle this? > >

Struts 2, Session Management and "WorkFlow".

2010-09-16 Thread RogerV
her action. What 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: Session Management

2009-04-16 Thread Baran
page is coming as a response of the http request I am making, do I >> have to redirect it via my JSP page(using javascript)? As otherwise I >> guess >> the whole thing is working fine. >> >> Regards, >

Re: Session Management

2009-04-16 Thread Paweł Wielgus
king 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 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. - To

Re: Session Management

2009-04-16 Thread Paweł Wielgus
; } >> >> >> Regards >> -- >> Lukasz >> http://www.lenart.org.pl/ >> >> - >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >> For additional commands, e-mail: user-h...@struts.apa

Re: Session Management

2009-04-16 Thread Baran
truts.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 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...@struts.apache.org

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 void

Re: Session Management

2009-04-16 Thread Baran
ing on YUI + Ajax based application, so >> basically >> all the action requests are via javascript. >> >> Any help would be appreciated. >> >> Baran >> -- >> View this message in context: >> http://www.nabble.com/Session-Management-tp23074591p23

Re: Session Management

2009-04-16 Thread Paweł Wielgus
> > 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. > > > - > To unsub

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-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 ses

Re: session management

2009-02-20 Thread Paweł Wielgus
; >> } >> %> >> >> //logout >> <% >> session.removeAttribute("userName"); >> session.invalidate(); >> response.sendRedirect("./welcome.jsp"); >> %> >> >> > > -- > View this message in context: >

Re: session management

2009-02-19 Thread mthalis
;); > session.invalidate(); > response.sendRedirect("./welcome.jsp"); > %> > > -- View this message in context: http://www.nabble.com/session-management-tp22054409p22114881.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...@struts.apache.org

Re: session management

2009-02-17 Thread Paweł Wielgus
> <% > } > else{ >response.sendRedirect("./index.jsp"); > } > %> > > //logout > <% > session.removeAttribute("userName"); > session.invalidate(); > response.sendRedirect("./welcome.jsp"); > %> > &

session management

2009-02-17 Thread mthalis
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-tp22054409p22054409

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 applica

[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

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

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

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

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 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.

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 jsp)whi

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
> a)are you checking to ensure the getSession is NOT NULL before the isNew > test ? > b)In this scenario is the session is null or session isNew then the > method returns false are your returning true/false? > c)are you catching the IllegalStateException ??? > > Anyone else

Re: Session Management Within Webapp 2 (jsessionid)s

2005-10-24 Thread Martin Gainty
sion isNew 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: Sent: Monday, October 24, 2005 10:57 AM Subject: Session Ma

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: This of course sends the request to the struts-config.do. I extended the RequestProcessor to set up some session typ

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 Martin Gainty
send with ? Bye, Mark Breitner --- Ursprüngliche Nachricht --- Von: Dave Newton <[EMAIL PROTECTED]> An: Struts Users Mailing List 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 Spe

Re: Newbie Question : Session Management without cookies

2005-05-29 Thread Mark Breitner
che Nachricht --- > Von: Dave Newton <[EMAIL PROTECTED]> > An: Struts Users Mailing List > 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 firs

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 with

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

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: 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 us

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 better

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 placemen

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 th

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 ActionForward(la

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 + "_" + pa