Re: best way to send parameters through more requests

2006-06-09 Thread Madhav Bhargava
there is another option. you can use apache JCS cache or open symphony's OScache for caching all objects that are required during user interaction. On 6/9/06, Emilia Ipate <[EMAIL PROTECTED]> wrote: Hello, all! Is there a solution besides using session, to send some request parameters from o

Re: best way to send parameters through more requests

2006-06-09 Thread Albert L. Sapp
Michael Jouravlev wrote: On 6/9/06, Samere, Adam J <[EMAIL PROTECTED]> wrote: Emilia Ipate wrote: > Is there a solution besides using session, to send some request > parameters from one request to another? > I would like to implement something like a shopping cart (a > functionality which need

Re: best way to send parameters through more requests

2006-06-09 Thread Michael Jouravlev
On 6/9/06, Samere, Adam J <[EMAIL PROTECTED]> wrote: Emilia Ipate wrote: > Is there a solution besides using session, to send some request > parameters from one request to another? > I would like to implement something like a shopping cart (a > functionality which needs about4-5 steps) and I do n

Re: best way to send parameters through more requests

2006-06-09 Thread Albert L. Sapp
PROTECTED] Sent: vrijdag 9 juni 2006 16:20 To: Struts Users Mailing List Subject: Re: best way to send parameters through more requests Emilia Ipate wrote: Hello, all! Is there a solution besides using session, to send some request parameters from one request to another? I would like to

Re: best way to send parameters through more requests

2006-06-09 Thread Dave Newton
Emilia Ipate wrote: > Al, your solution is good, except for one thing: what do you do if the > user leaves the application at step2? You will have in DB all the items > the user checked, but they are no longer necessary > 1) Not if they come back, in which case they'll be delighted you care

RE: best way to send parameters through more requests

2006-06-09 Thread Emilia Ipate
juni 2006 16:20 To: Struts Users Mailing List Subject: Re: best way to send parameters through more requests Emilia Ipate wrote: > Hello, all! > > Is there a solution besides using session, to send some request > parameters from one request to another? > I would like to impl

Re: best way to send parameters through more requests

2006-06-09 Thread Albert L. Sapp
Emilia Ipate wrote: Hello, all! Is there a solution besides using session, to send some request parameters from one request to another? I would like to implement something like a shopping cart (a functionality which needs about4-5 steps) and I do not want to store the objects in the session

Re: best way to send parameters through more requests

2006-06-09 Thread Dave Newton
Emilia Ipate wrote: > So I cannot just hold these objects in session forever, Fortunately sessions don't generally _last_ forever. > that's why I think a session mantaining functionality is > required: > 1. have a configuration file that specifies exactly what objects > can be hold in sess

RE: best way to send parameters through more requests

2006-06-09 Thread Emilia Ipate
- From: Samere, Adam J [mailto:[EMAIL PROTECTED] Sent: vrijdag 9 juni 2006 15:20 To: Struts Users Mailing List Subject: RE: best way to send parameters through more requests The thought here(base64 encode) was to store the data on the client. This would also be a large effort requiring all POST re

RE: best way to send parameters through more requests

2006-06-09 Thread manoj.tripathi
solve your problem in short run ... So a good idea to avoid it if you can Regards -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: 09 June 2006 14:06 To: Struts Users Mailing List Subject: Re: best way to send parameters through more requests Emilia Ipate wrote

RE: best way to send parameters through more requests

2006-06-09 Thread Samere, Adam J
. Anything else will most likely cost more in development effort than upgrading hardware. Adam -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Friday, June 09, 2006 9:06 AM To: Struts Users Mailing List Subject: Re: best way to send parameters through more requests Emilia

Re: best way to send parameters through more requests

2006-06-09 Thread Dave Newton
Emilia Ipate wrote: > Now the question comes: when does the object come useless? It is useless > when users gets to step 5 and also when from a middle step (like 3) > decides to get out of the this 5 step request-chain. In both cases, the > object should be removed from session. I would say to have

RE: best way to send parameters through more requests

2006-06-09 Thread Emilia Ipate
Subject: RE: best way to send parameters through more requests Frequent deleting from session is not very good In a cluster that would mean updating the states of session on so many servers on the clusteryou can appreciate that this is an overhead and a great performance hit Request, hidden fields

RE: best way to send parameters through more requests

2006-06-09 Thread manoj.tripathi
PROTECTED] Sent: 09 June 2006 13:27 To: Struts Users Mailing List Subject: Re: best way to send parameters through more requests One way can be to use the values in session and somehow explicitly delete these attributes after they have been used. Event listeners can I think help here. Just pump an

RE: best way to send parameters through more requests

2006-06-09 Thread manoj.tripathi
can write some tests on them so that it will not be "unmaintable" Cheers -Original Message- From: Emilia Ipate [mailto:[EMAIL PROTECTED] Sent: 09 June 2006 13:04 To: Struts Users Mailing List Subject: RE: best way to send parameters through more requests Using hidden fields is

Re: best way to send parameters through more requests

2006-06-09 Thread Thomas Joseph
One way can be to use the values in session and somehow explicitly delete these attributes after they have been used. Event listeners can I think help here. Just pump an event when you are done with. This should delete the session attributes. Any good patterns in this regard?? References? > Usi

RE: best way to send parameters through more requests

2006-06-09 Thread Samere, Adam J
--Original Message- From: Samere, Adam J [mailto:[EMAIL PROTECTED] Sent: vrijdag 9 juni 2006 13:57 To: Struts Users Mailing List Subject: RE: best way to send parameters through more requests You also may be able to store state in hidden fields in the rendered markup, or by encoding the raw binary

RE: best way to send parameters through more requests

2006-06-09 Thread Emilia Ipate
[mailto:[EMAIL PROTECTED] Sent: vrijdag 9 juni 2006 13:57 To: Struts Users Mailing List Subject: RE: best way to send parameters through more requests You also may be able to store state in hidden fields in the rendered markup, or by encoding the raw binary data in a single hidden field. This goes a

RE: best way to send parameters through more requests

2006-06-09 Thread Samere, Adam J
, 2006 7:40 AM To: user@struts.apache.org; [EMAIL PROTECTED] Subject: RE: best way to send parameters through more requests Also a word of caution I presume all the objects you store in session are seriallizable. If they are not then your solution wont work if the application is deployed on cluster

RE: best way to send parameters through more requests

2006-06-09 Thread manoj.tripathi
-Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: 09 June 2006 12:33 To: Struts Users Mailing List Subject: Re: best way to send parameters through more requests Emilia Ipate wrote: > Is there a solution besides using session, to send some request > parameters fr

Re: best way to send parameters through more requests

2006-06-09 Thread Dave Newton
Emilia Ipate wrote: > Is there a solution besides using session, to send some request > parameters from one request to another? > I would like to implement something like a shopping cart (a > functionality which needs about4-5 steps) and I do not want to store > the objects in the session (it is al

best way to send parameters through more requests

2006-06-09 Thread Emilia Ipate
Title: Message Hello, all!   Is there a solution besides using session, to send some request parameters from one request to another? I would like to implement something like a shopping cart (a functionality which needs about4-5 steps) and I do not want to store the objects in the session (i