David King wrote:
>> That is, instead of explicitly passing the {ewr, Component, Method,
>> Params} we could do something like {ewr, Component, Method, {magic,
>> Params}} and redirect the user to http://site/Component/Method while
>> preserving all the Params...
>>     
>
> You could do this pretty easily with a not-so-fancy fancy session  
> manager process. Since you're actually specifying the Params that you  
> want to pass and only preserving those, you don't even need  
> continuations to do it (unless you're hoping to resume inline, which  
> it doesn't look like you are).
>
> If you are hoping to resume inline, you could simulate it with  
> something like:
>
> %% prepare the continuation
> session_manager:new(Params,fun(MoreParams) ->
>      %% additional processing....
>      {ewc, controller, function2, [results_of(Params,MoreParams)]
>    end
> end),
>
> %% and return the intermediate result
> {ewc, controller,function,[foo]}.
>
>   
This would still require a fancy session manager that could figure out 
which request exactly to serve and how to clean up unused requests...

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"erlyweb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to