-
Notifications
You must be signed in to change notification settings - Fork 203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Moqui cookie name to be configurable #304
Comments
The name of session cookie name also can be changed by
I see there is |
This seems like a good thing to support. In the near future issues on GitHub will be disabled as part of the move to HiveMind. They are not yet disabled to avoid losing older issues, but all requests should now go in HiveMind on moqui.org. Please see: |
I will create future requests in HiveMind. I've made a PR #305 for this feature. |
Since this is covered by pull request #305 closing this issue. |
This is a feature request.
Moqui framework currently generates two cookies
moqui.visitor
andJSESSIONID
. the name ofJSESSIONID
can be configured inweb.xml
as belowbut name of
moqui.visitor
can't be changed.My use case is that I have two different apps (each runs with a moqui instance) in same domain with different path (using nginx to proxy, and they are not using default webroot component, but a new empty standalone screen as root). both apps returns cookie
JSESSIONID
andmoqui.visitor
, so they are collided.There are two solutions for this:
path
for each appAnd solution 2 seems to be more easy and flexible. It simply to add default property for name of
JSESSIONID
andmoqui.visitor
in moqui conf file. and use them rather than hard code.If this use case is accepted, I can make a PR on this.
The text was updated successfully, but these errors were encountered: