Is this a job for Ramsey’s persistent session store
framework?(ERPersistentSessionStoreage
https://github.com/wocommunity/wonder/tree/master/Frameworks/Misc/ERPersistentSessionStorage)
I haven’t deployed this, but I’m looking for this to simplify the distribution
of REST services (with a lightw
Hi Rudi,
Having state on the server isn’t recommended for REST services. If you need
state and want to keep your service scalable, try storing the session
information on the client.
That said, if you really want to store the session on the server, take a look
at the sessionID method of the ERX
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 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 wou
Rudi,
ERRest is essentially a direct action. We use the following code:
protected ERXRestContext createRestContext() {
ERXRestContext result = null;
if (existingSession() != null) {
result = new
ERXRestContext(session().defau
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 reques