b_poplin
11 years agoExpert
What API calls keep sessions active
We run a custom mobile site where we allow members to upload videos and photos. Videos in particular are being uploaded to an S3 server, encoded, etc... before allowing the post to submit. Very ...
- 11 years ago
The API session is different from the web ui session. A call to the API will not keep the web session active in any way. Are you trying to keep the community web ui session alive, or the REST API session key active?
As far as the web ui session is concerned, we do have "keep alive" logic in the message post page for keeping web sessions active while you are on that page. I believe the keep-alive logic makes a request to the following URL to keep the session alive: t5/status/blankpage?keepalive. I don't think we officially support this endpoint however (and reserve the right to remove it), so you would probably be better off creating a custom page and hitting that periodically to keep the session alive.
-Doug