문제

I have a chat system in my site.

When i press ctrl+f5 buttons the chat will be refeshed with online and offline members and it will logout the page and display the login page.

Can I clear session values by pressing ctrl+f5 buttons?

도움이 되었습니까?

해결책

What you're referring to is a hard-refresh, which clears your cache and forces resources to be downloaded again. Doing a hard refresh doesn't destroy session variables. Destroying a session destroys session variables.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top