Skip to main content

To access Acumatica rest API's Acumatica ERP creating cookies for authorization when we hit the login API.
Authorization cookie not working after some time, all API return “You are not logged in”.
Please let me know what is the maximum time/ max age for cookie variable after login?

To determine the specific duration for which the authorization cookie is valid for your particular instance of Acumatica ERP, you can check the configuration settings on the server side. You can do this by contacting the system administrator responsible for managing your Acumatica ERP instance.

Alternatively, you can try experimenting with different values for the expiration time of the authorization cookie until you find one that works well for your use case. This can involve adjusting the server-side configuration settings or modifying your code to refresh the authorization cookie periodically.


Hi @ashishCodecorners 

The maximum time or max age for a cookie variable after login in Acumatica ERP's REST API is determined by the server-side settings of the cookie's expiration time. This can vary depending on how the server is configured, and may be set to a specific duration (e.g. 1 hour, 24 hours, etc.), or set to never expire.

 

Thanks @jinin , It happens after some time or when we not processed any API URL, that’s why I want to know the duration set by Acumatica ERP after login. I am working with these API in our app or website so need to know the specific duration.


Hi @ashishCodecorners 

The maximum time or max age for a cookie variable after login in Acumatica ERP's REST API is determined by the server-side settings of the cookie's expiration time. This can vary depending on how the server is configured, and may be set to a specific duration (e.g. 1 hour, 24 hours, etc.), or set to never expire.

 


Reply