Reply

Netmri REST and authenticate _netmri cookie

csi-net
Techie
Posts: 14
1495     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.

Re: Netmri REST and authenticate _netmri cookie

Expert
Posts: 259
1495     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

csi-net
Techie
Posts: 14
1495     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.

Showing results for 
Search instead for 
Do you mean 

Recommended for You