Reply
Highlighted

Netmri REST and authenticate _netmri cookie

Authority
Posts: 15
3019     0

Hello,

 

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.

Highlighted

Re: Netmri REST and authenticate _netmri cookie

Expert
Posts: 236
3020     0

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.

Highlighted

Re: Netmri REST and authenticate _netmri cookie

Authority
Posts: 15
3020     0

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.

Highlighted

Re: Netmri REST and authenticate _netmri cookie

Techie
Posts: 4
3020     0

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.

 

Thanks.

 

Chris.

Showing results for 
Search instead for 
Did you mean: 

Recommended for You