Re: [Rife-users] store String in session

2006-02-13 Thread Geert Bevin
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Geert Bevin Sent: 10 February 2006 14:49 To: RIFE users list : questions, bug reports and suggestions. Subject: Re: [Rife-users] store String in session Thanks for the answer. Because of the special glue

RE: [Rife-users] store String in session

2006-02-13 Thread Lars Grupe
To: RIFE users list : questions, bug reports and suggestions. Subject: Re: [Rife-users] store String in session Hi Lars, yesterday, I fixed a bug related to classloading. You might want to try out the latest snapshot. Best regards, Geert On 10-feb-06, at 14:55, Lars Grupe wrote

Re: [Rife-users] store String in session

2006-02-13 Thread Geert Bevin
PROTECTED] On Behalf Of Geert Bevin Sent: 13 February 2006 11:18 To: RIFE users list : questions, bug reports and suggestions. Subject: Re: [Rife-users] store String in session Hi Lars, yesterday, I fixed a bug related to classloading. You might want to try out the latest snapshot. Best regards

[Rife-users] store String in session

2006-02-10 Thread Lars Grupe
Hi, What is the right implementation for the following scenario: I have an element with several submissions. And I would like to have a long string that is only stored in the session. Everytime a submission is called I want read the long string change it and store it again. Thanks for your help

RE: [Rife-users] store String in session

2006-02-10 Thread Lars Grupe
. Subject: Re: [Rife-users] store String in session Hi Lars, does this have to timeout after a while (just as a traditional session does) or not? Best regards, Geert On 10-feb-06, at 13:08, Lars Grupe wrote: Hi, What is the right implementation for the following scenario

Re: [Rife-users] store String in session

2006-02-10 Thread Geert Bevin
Is this a series of submissions, like a wizard? Yes, it must not timeout, but it can timeout like a traditional session. I have an element with several submissions. And I would like to have a long string that is only stored in the session. Everytime a submission is called I want read the

Re: [Rife-users] store String in session

2006-02-10 Thread Geert Bevin
I would simply use continuations. If that's not an option for you, you can use session state storage. I whipped out a small example for you: http://rifers.org/paste/show/88 http://rifers.org/paste/show/89 http://rifers.org/paste/show/90 (note that I found a bug which makes this not work when

RE: [Rife-users] store String in session

2006-02-10 Thread Lars Grupe
:[EMAIL PROTECTED] On Behalf Of Geert Bevin Sent: 10 February 2006 14:34 To: RIFE users list : questions, bug reports and suggestions. Subject: Re: [Rife-users] store String in session I would simply use continuations. If that's not an option for you, you can use session state storage. I

Re: [Rife-users] store String in session

2006-02-10 Thread Geert Bevin
on the classloader. Cheers, Lars -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Geert Bevin Sent: 10 February 2006 14:34 To: RIFE users list : questions, bug reports and suggestions. Subject: Re: [Rife-users] store String in session I would simply

RE: [Rife-users] store String in session

2006-02-10 Thread Lars Grupe
and suggestions. Subject: Re: [Rife-users] store String in session Thanks for the answer. Because of the special glue webserver I couln't use continuations. I forgot to tell you that the rife.jar 1.3.1 does have the same 'java.lang.LinkageError' as the older version before. Have

RE: [Rife-users] store String in session

2006-02-10 Thread Lars Grupe
is called and not the exit? Cheers, Lars -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Geert Bevin Sent: 10 February 2006 14:34 To: RIFE users list : questions, bug reports and suggestions. Subject: Re: [Rife-users] store String in session I would

Re: [Rife-users] store String in session

2006-02-10 Thread Geert Bevin
Thanks! From time to time I will test a new snapshot. And I will tell you if the state is changed. -- Geert Bevin Uwyn bvba Use what you need Avenue de Scailmont 34 http://www.uwyn.com 7170 Manage, Belgium gbevin[remove] at uwyn dot com

Re: [Rife-users] store String in session

2006-02-10 Thread Eddy Young
Geert Bevin wrote: I would simply use continuations. If that's not an option for you, you can use session state storage. I whipped out a small example for you: http://rifers.org/paste/show/88 http://rifers.org/paste/show/89 http://rifers.org/paste/show/90 (note that I found a bug which makes

RE: [Rife-users] store String in session

2006-02-10 Thread Lars Grupe
] [mailto:[EMAIL PROTECTED] On Behalf Of Geert Bevin Sent: 10 February 2006 15:09 To: RIFE users list : questions, bug reports and suggestions. Subject: Re: [Rife-users] store String in session Hi Lars, if you inline the element definition in the site-structure, the outputs area automatically

Re: [Rife-users] store String in session

2006-02-10 Thread Geert Bevin
For some reason, I failed to notice the configurable state storage in RIFE and have been using my own SessionManager all this time :-) The first rule of RIFE is, when something fundamental is difficult, ask first! The second rule of RIFE is, when something fundamental is difficult, ask

Re: [Rife-users] store String in session

2006-02-10 Thread Geert Bevin
OK... Here is one question. What is a typical legitimate use of this feature? Right now, I use my own SessionManager to store user information (basically, an account bean representing the current user). This is not very different from a session variable as I cannot control the scope of the

Re: [Rife-users] store String in session

2006-02-10 Thread Geert Bevin
Why are so many projects bragging about things that RIFE does easier and more consistently? I don't know, but it's frustrating indeed. A notable entry there is Jetty 6's 'continuations' feature that aren't even continuations at all, but parked requests. Blogosphere destroys individuality

RE: [Rife-users] store String in session

2006-02-10 Thread Lars Grupe
and suggestions. Subject: Re: [Rife-users] store String in session Hi Lars, just add the output declaration then, my notation is a shortcut. An in-lined element definition means that you don't use an external file to specific the element but do it entirely in the site-structure. Best regards

Re: [Rife-users] store String in session

2006-02-10 Thread Geert Bevin
Don't hesitate to write a comment here either: http:// www.theserverside.com/news/thread.tss?thread_id=38949 I'm not sure if this is a good thing to encourage. This is an article about Seam,and in Marcus' Wonderful World, people should comment only on Seam itself, and not use the article to