PHP-destroy-session-on-close-of-main-window [英] PHP-destroy-session-on-close-of-main-window
问题描述
如何在关闭浏览器时销毁会话当浏览器窗口关闭时,会话应终止.现在,如果我关闭窗口并输入应用程序 url,它允许我访问应用程序.
How to destroy the session on closing the browser When browser window is closed, session should be terminated. Right now, if I close the window and type the application url, it is allowing me to access application.
推荐答案
已修复.
使用以下设置,应用程序"会话会在浏览器关闭期间过期.
With below settings "application" session expires during browser close.
Firefox 浏览器->工具->选项->常规选项卡启动:Firefox 启动时:显示空白页面
Firefox Browser->Tools->Options->General Tab StartUp: When Firefox starts: Show a blank page
Firefox 浏览器->工具->选项->隐私标签历史:Firefox 将使用自定义历史设置/从不记住历史Cookie:保持直到:我关闭了 Firefox
Firefox Browser->Tools->Options->Privacy Tab History: Firefox will Use custom settings for history / Never remember history Cookie: Keep Until : I close firefox
这篇关于PHP-destroy-session-on-close-of-main-window的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!