Re: How to set up a stateful REST service
Re: How to set up a stateful REST service
- Subject: Re: How to set up a stateful REST service
- From: Mark Wardle <email@hidden>
- Date: Thu, 28 Jan 2016 22:08:20 +0000
ERRest actions are simply direct actions. You can definitely use sessions. Just call session() and it will create one.
Mark
> On 28 Jan 2016, at 19:37, Rudi Angela <email@hidden> wrote:
>
> How can I use ER-REST in combination with a Session? I have a stateful REST service, so I need a Session. Also I would like to use the session’s defaultEditing Context. A brief look at ER-REST gave me the impression that requests don’t use a Session and use a new EditingContext with every request.
> Any suggestions?
>
> Thanks,
>
> Rudi
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden