09-28-2017 11:16 PM
I noticed that when we use https://x.x.x.x/api/3/authenticate the appliace reply with the session cookie _netmri.
I noticed that cookie expiration date is year 2038 !!
Is there a way to request, or setup in netmri, to control the default cookie expiration ?
Which API shoud I use to clear the session cookie ?
Thank's in advance.
10-02-2017 12:36 PM
I checked another NetMRI and the "_netmri" cookie is only a session cookie -- it expires at the end of the browser session. I'm not sure what a "session" is for your RESTful method.
Many sites set a cookie expiration date of 2038 as essentially infinity, but I haven't noticed NetMRI do so. It's up to the client "browser" to control how cookies are treated -- accept/reject/accept only session cookies, etc.
10-02-2017 10:32 PM
I'm not sure because is more that 2 week I'm using the same cookie (I'm using POSTMAN for Test).
This mean that Netmri somewhere take track of the _netmri cookie. For security reason and resources I'd like to be able to delete or set expiration to the cookie _netmri.
3 weeks ago
This post is a couple years old, but did you ever get an answer for this? I'm running up against the same thing myself.