Cookie path for MetaProtoExtendedSession

31 views
Skip to first unread message

Rike-Benjamin Schuppner

unread,
Jan 6, 2016, 11:44:05 AM1/6/16
to Lift
Hi all,

would it make sense to have the cookie path for the MetaProtoExtendedSession trait configurable or maybe set it to the contextPath automatically? I figured that the two instances I am running are stealing each other their ext_id cookies (which I could rename of course but I guess restricting it to the contextPath would be a more sensible solution in the first place).

Cheers
/rike

Rike-Benjamin Schuppner

unread,
Jan 27, 2016, 7:05:15 AM1/27/16
to Lift
Any thoughts on this? I would be willing to provide a patch as well.

Antonio Salazar Cardozo

unread,
Jan 27, 2016, 1:41:48 PM1/27/16
to Lift
Fwiw, you can fix this right now by overriding `userDidLogin` to create the cookie
with the appropriate path.

If you could, do file an issue on the Github repo and we'll see if we can update the
code to either make it more customizable or (more likely) to default to the context
path.
Thanks,
Antonio

Rike-Benjamin Schuppner

unread,
Jan 28, 2016, 12:18:40 PM1/28/16
to Lift
Am Mittwoch, 27. Januar 2016 19:41:48 UTC+1 schrieb Antonio Salazar Cardozo:
Fwiw, you can fix this right now by overriding `userDidLogin` to create the cookie
with the appropriate path.

If you could, do file an issue on the Github repo and we'll see if we can update the
code to either make it more customizable or (more likely) to default to the context
path.

Reply all
Reply to author
Forward
0 new messages