Re: [CForms/Flow] updating repeater causes loss of session context - please help

2004-11-19 Thread Leszek Gawron
[EMAIL PROTECTED] wrote:
Hi guys,
I'm struggling with this problem for a long time, so I hope now that the new
release is out, somebody can find the time to look into this.
I closely followed the sample on using the authentication-fw in flow script
and it works fine until...I update a repeater (e.g. I add a row). From that
moment on, the session context is lost, until I redirect to another page
(which goes through the 'checkLoginStatus' process again).
When I have a "simple" form, just some simple widgets and a submit button,
everything goes fine. But when there is a repeater and a "redisplay" action
I loose the authentication context. 

Does anyone have any ideas?
More in detail:
I have "public" pipelines that call the "protect" function with an
"internal" equivalent:

   
  




   


   
  
  
  
   
   
  
  
  
  
  
 


function someFunction() {
  // do something
  form.showForm("internal/someForm.form");
  // process form data
  cocoon.redirectTo("public/somethingElse.html");
}
Thanks.
Bye, Helma
I do not know how auth-fw works. Still this looks for me like the 
problem occurs when you resume continuations. Shouldn't you wrap your 
 with some auth-fw action?

--
Leszek Gawron  [EMAIL PROTECTED]
Project ManagerMobileBox sp. z o.o.
+48 (61) 855 06 67  http://www.mobilebox.pl
mobile: +48 (501) 720 812   fax: +48 (61) 853 29 65


[CForms/Flow] updating repeater causes loss of session context - please help

2004-11-19 Thread H . vanderLinden
Hi guys,

I'm struggling with this problem for a long time, so I hope now that the new
release is out, somebody can find the time to look into this.

I closely followed the sample on using the authentication-fw in flow script
and it works fine until...I update a repeater (e.g. I add a row). From that
moment on, the session context is lost, until I redirect to another page
(which goes through the 'checkLoginStatus' process again).

When I have a "simple" form, just some simple widgets and a submit button,
everything goes fine. But when there is a repeater and a "redisplay" action
I loose the authentication context. 

Does anyone have any ideas?

More in detail:

I have "public" pipelines that call the "protect" function with an
"internal" equivalent:


   
  




   



   
  
  
  
   
   
  
  
  
  
  
 



function someFunction() {
  // do something
  form.showForm("internal/someForm.form");
  // process form data
  cocoon.redirectTo("public/somethingElse.html");
}

Thanks.

Bye, Helma