English 中文(简体)
3. 如果用户积极参与,则防止会议结束
原标题:Preventing session expiration if user active
  • 时间:2011-10-05 09:29:53
  •  标签:
  • php
  • session

I have mini content management sytem with basic login system. I wonder, how to prevent session expiration if user active for ex. typing content or something else? Is there any way to do it? How can i rearm the session every time an interaction takes place?

最佳回答

你们需要把活动手放在一些用户互动活动上,如改变使用运动或钥匙,或其他类似活动。 关于你可以要求服务器使用亚子公司提供一些东西。 这将使本届会议保持活力。

问题回答

Have an event listener listen to any user interaction event and have it call a simple PHP page with a session activity [Example: session_start()].

但是,在聆听运动会时要谨慎,因为它可能通过提出许多随后的非洲-日本宇宙航空研究开发机构的请求而cho弃你的服务器。 您可以附上时间,控制电话的频率。





相关问题
why the session in iis automatically log out?

I used iis6, and when i called a function Directory.delete(), the all the session relate this website will be logged out. and i debugged the website, i found no exception. any one have ideas on this ? ...

Check session from a view in CodeIgniter

What is the best way to check session from a view in CodeIgniter, it shows no way in their user guide, otherwise I will have to make two views on everything, which is kinda weird...still a newbie to ...

Can I get the size of a Session object in bytes in c#?

Is it possible to get the size(in bytes) of a Session object after storing something such as a datatable inside it? I want to get the size of a particular Session object, such as Session["table1"], ...

提供严格分类的出席会议物体

提供严格分类的与会机会的最佳方式是什么? 我正计划转而选择矩阵,这正在促使汇编者抱怨我的幻觉方案拟订方法......

PHP Session is not destroying after user logout

I m trying to create an authentication mechanism for my PHP Application and I m having difficulty destroying the session. I ve tried unsetting the authentication token which was previously set within ...

热门标签