Re: [Zotonic-Dev] curl -> zotonic ?

2016-12-02 Thread Marc Worrell
You want to log on using a POST (with curl), and then use the returned session cookie for other things? - Marc > On 02 Dec 2016, at 04:32, heiheshang wrote: > > tell me how you can pass data through zotonic curl? I want to create a post > reguest login and send the data to the controller > >

Re: [Zotonic-Dev] how to quickly update the pivot table?

2016-12-02 Thread Marc Worrell
Hi, Yes, the pivoting is batched at some time after the initial update. The database maintains a queue of updated items. This queue is polled at regular intervals. You can force the immediate pivot of a specific id by calling: z_pivot_rsc:pivot(Id, Context) This will also remove the Id