Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
06631b6f
Commit
06631b6f
authored
May 19, 2017
by
Carsten Rose
Browse files
Session.php: Activate cookie_httponly for QFQ cookies
parent
61472b9b
Changes
1
Hide whitespace changes
Inline
Side-by-side
extension/qfq/qfq/store/Session.php
View file @
06631b6f
...
@@ -30,6 +30,8 @@ class Session {
...
@@ -30,6 +30,8 @@ class Session {
if
(
self
::
$phpUnit
===
true
)
{
if
(
self
::
$phpUnit
===
true
)
{
self
::
$sessionLocal
=
array
();
self
::
$sessionLocal
=
array
();
}
else
{
}
else
{
ini_set
(
'session.cookie_httponly'
,
1
);
session_name
(
SESSION_NAME
);
session_name
(
SESSION_NAME
);
session_start
();
session_start
();
self
::
$sessionId
=
session_id
();
self
::
$sessionId
=
session_id
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment