1. What is the format of the data which is available in HTTP_SM_TIMETOEXPIRE header
2. How to formulate it to the dd:mm:yy hh:mm:ss format.
Let me know if any questions.
In addition to what Ujwol mentioned, in case if you disable the MaxTimeout then the value would not be a "0".
664593296 is what you would get and you may want to put a condition to check if it goes beyond anticipated timeframe and display as "not set" or any meaningful message/format.
Although the format of this source data is not configurable, you have the freedom to convert it to any format you wish when you display it on the web page.
Thank you Ujwol & Sung Hoon Kim for your reply. Please find the details below
1. We haven't enabled Max Session Timeout
2. We have enabled IdleTimeout only and we have set DisableSessionVars ACO parameter to "No"
3. The value I am getting from HTTP_SM_TIMETOEXPIRE is something like this "664593296"
Query :1. I have converted this number to minutes and I don't think it is in minutes format or I am missing something here.
I need to know the time in minutes by when the session is going to expire, so that I can take some action in UI accordingly.
Thank you for your help.
HTTP_SM_TIMETOEXPIRE can give you max session time out.
It can NOT give you idle timeout unfortunately.
Also check out this thread where we discussed this requirement earlier:
Thank you for your reply. Could you please let me know if there is any other way by any chance to know the Idle timeout value so that we can show an alert before the session expiry.
I hope I have explained the requirement we are working on clearly. Please let me know if I can provide more details.
Unfortunately, to my knowledge there is no other way to identify the idle time out.