This website requires JavaScript.
Explore
Help
Sign in
beenull
/
raspap-webgui-mirror
Watch
1
Star
0
Fork
You've already forked raspap-webgui-mirror
0
mirror of
https://github.com/RaspAP/raspap-webgui.git
synced
2024-11-22 23:50:30 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
8b0383dd20
raspap-webgui-mirror
/
includes
/
session.php
6 lines
74 B
PHP
Raw
Normal View
History
Unescape
Escape
send CSRF token in a response header, update the page's CSRF tokens with the new token from the response header, verify csrf token in ajax endpoints, initialize a session for every endpoint
2019-08-06 19:34:58 +00:00
<
?
php
if
(
session_status
()
==
PHP_SESSION_NONE
)
{
Processed with phpcbf for PSR-2 coding standard
2019-09-07 15:42:31 +00:00
session_start
();
send CSRF token in a response header, update the page's CSRF tokens with the new token from the response header, verify csrf token in ajax endpoints, initialize a session for every endpoint
2019-08-06 19:34:58 +00:00
}
Reference in a new issue
Copy permalink