Create New Client Id IF A Client Id Doesn't Exist

2 posts, 0 answers
  1. Majar
    Majar avatar
    14 posts
    Member since:
    Nov 2018

    Posted 14 Dec 2018 Link to this post

    Hi,

    Sometimes we are getting an error saying "Client ID with <client id> not found". Is there any way to (programmatically)create a new client id and use it when the client is not found or expired?

    Thanks,

    Majar

  2. Todor
    Admin
    Todor avatar
    310 posts

    Posted 18 Dec 2018 Link to this post

    Hello Majar,

    ClientId is the unique identifier that a client (viewer) is assigned after the Register Client request - check HTML5 Report Viewer and Reporting REST services article. With this request the client session gets stored in the service cache. Upon client session expiration the experienced error will be thrown by the service.

    Note that ClientSessionTimeOut property sets a value in minutes indicating how long a client (viewer) session will be preserved in the service storage after the last interaction initiated by this client. You may increase this value to avoid the error. Check also Error Client with ID 'xxxxxx-xxxx' not found. Expired troubleshoot article.

    You may also refresh the viewer on a given interval or refresh the whole page to simulate interaction with the viewer.

    If you repeat the Register Client request a new client will be registered. By default it will not be able to access the state (e.g. generated reports) of the previous client.

    Regards,
    Todor
    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top