This website requires JavaScript.
Explore
Help
Sign In
frodovdr
/
raspap-webgui
Watch
1
Star
0
Fork
0
You've already forked raspap-webgui
mirror of
https://github.com/billz/raspap-webgui.git
synced
2023-10-10 13:37:24 +02:00
Code
Issues
Releases
Wiki
Activity
bf5de0a81d
raspap-webgui
/
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 21:34:58 +02:00
<
?
php
if
(
session_status
()
==
PHP_SESSION_NONE
)
{
Processed with phpcbf for PSR-2 coding standard
2019-09-07 17:42:31 +02: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 21:34:58 +02:00
}
Reference in New Issue
Copy Permalink