RE: [CForms/Flow] updating repeater causes loss of session contex t-please help

2004-11-20 Thread H . vanderLinden
Hi,

 not quite possible for 2 flowscript functions but feasible with a 
 flowscript function and an action:
 
 map:match pattern=*.continue
map:act type=authenticate
  map:call continuation={../1}/
map:act
map:redirect-to uri=failure/
 /map:match

As far as I can tell, the correct syntax should be:

map:match pattern=*.continue
   map:act type=auth-loggedIn
  map:parameter name=handler value=flowAuthenticationHandler/
  map:call continuation={../1}/
   /map:act
/map:match

But this still does not solve the problem. :-(

Any other ideas?


BTW In the logout function I would like to write a log message containing
the userid that is logging out.
I think this is the same problem, because I specifically pass the
{session-context:authentication/authentication/ID} parameter in the sitemap,
but it's empty in the logout function.

Thanks. 

Bye, Helma




RE: [CForms/Flow] updating repeater causes loss of session contex t - please help

2004-11-19 Thread H . vanderLinden
 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 
 map:call continuation={1}/ with some auth-fw action?

Sounds plausible, but I have no clue what the correct syntax should be. How
do I mix the following:

map:match pattern=**news.html
   map:call function=isLoggedIn
  map:parameter name=handler value=flowAuthenticationHandler/
map:parameter name=protected-internal value=general/news.form/
map:parameter name=failure-redirect value=login/
   /map:call
/map:match

And

map:match pattern=*.continue
   map:call continuation={1}/
/map:match

In other words: how do I wrap the 'call function=isLoggedIn' around the
'call continuation'?

Thanks.

Bye, Helma


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

2004-11-19 Thread Leszek Gawron
[EMAIL PROTECTED] wrote:
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 
map:call continuation={1}/ with some auth-fw action?

Sounds plausible, but I have no clue what the correct syntax should be. How
do I mix the following:
map:match pattern=**news.html
   map:call function=isLoggedIn
  map:parameter name=handler value=flowAuthenticationHandler/
map:parameter name=protected-internal value=general/news.form/
map:parameter name=failure-redirect value=login/
   /map:call
/map:match
And
map:match pattern=*.continue
   map:call continuation={1}/
/map:match
In other words: how do I wrap the 'call function=isLoggedIn' around the
'call continuation'?
Thanks.
Bye, Helma
not quite possible for 2 flowscript functions but feasible with a 
flowscript function and an action:

map:match pattern=*.continue
  map:act type=authenticate
map:call continuation={../1}/
  map:act
  map:redirect-to uri=failure/
/map:match
--
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