Keep viewer session alive

Discussions about DocuVieware integration in GdPicture.NET.
Post Reply
User avatar
igor
Posts: 17
Joined: Fri Oct 28, 2016 10:42 pm

Keep viewer session alive

Post by igor » Fri Mar 03, 2017 12:20 pm

Hello,

I am building an ASP.NET MVC5 application for scanning and viewing documents.

One of our app's features is a possibility to remain users logged in even if no activity is performed. I would like to know, is there a simple way to refresh DocuVieware session using the JavaScript API? To be clear, I don't want to make session to never expire. Session timeout is necessary. I just want to simulate activity which could let me to keep a session alive until for example user logs out or simply closes the browser. So far I achieved it by periodically calling a PostCustomServerAction function. I think it would be useful to have a function in your JS API which simply refreshes session without performing any other action.

[EDIT] I think that this post should be moved to the DocuVieware section. Sorry for my oversight.
Regards,
Igor Paszewski
FileHold Systems Inc.

User avatar
Loïc
Site Admin
Posts: 5576
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: Keep viewer session alive

Post by Loïc » Tue Mar 07, 2017 6:02 pm

Hello Igor,

We are already working on such topic.
Basically this method will be a part of the next major release of DocuVieware that should be published by the end of this month.

With best regards,

Loïc

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest