- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Netmri REST and authenticate _netmri cookie
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-28-2017 11:16 PM
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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.
Re: Netmri REST and authenticate _netmri cookie
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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.
Re: Netmri REST and authenticate _netmri cookie
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-30-2019 12:00 PM
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.