简体   繁体   中英

How can i extend Joomla session if user still active on client javascript application in joomla?

I faced this problem: JS(jquery) application is integrated to joomla. How can i know user still active on JS application and if user is active how can i extend joomla session timeout?

Do an Ajax call once in a while which just updates the session time on the server. You can use window.setInterval() in JS to schedule this.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM