on 09-27-2016 11:51 AM
Hi,
We have web application in which we have integrated sap bo 4.1 webi report using opendocument url. In opendocument url we are passing logon token which is generated with help of sap rest service.
Suppose if logon token get expired, it redirects us to sap webi login page. so do we have any option in sap restful service to check that logon token has expired or not.
Thanks,
Ajay Singh
Hi Ajay,
As you have application, you can validate the session or token. just try to use same token and if you get status code 401 the session is expired. So here using Status code you can determine whether session is valid or not.
Regards,
Kedar Kale.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kedar,
Thanks for reply.
Right now I am generating logon token and concating that logon token in opendocument url and after that I am setting that url to iframe of webpage.
But if token got expired it automatically redirects us on sap bi login page as it is hard to get status 401 after redirect. As you said we will get status code 401 on token expired, could you please suggest which rest url we can hit with token to get this status code.
Thanks,
Ajay Singh
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.