* To support custom PHP sessions, s9y will only issue session_start,
if no session exists yet (garvinhicking)
This commit is contained in:
parent
d29998d65e
commit
757c557b6b
@ -3,6 +3,9 @@
|
||||
Version 1.6 ()
|
||||
------------------------------------------------------------------------
|
||||
|
||||
* To support custom PHP sessions, s9y will only issue session_start,
|
||||
if no session exists yet (garvinhicking)
|
||||
|
||||
* Fix escaping when using ImageMagick to create PDF-thumbnail images
|
||||
(stm9x9)
|
||||
|
||||
|
@ -12,8 +12,8 @@ if (!headers_sent()) {
|
||||
// Only set the session name, if no session has yet been issued.
|
||||
if (session_id() == '') {
|
||||
session_name('s9y_' . md5(dirname(__FILE__)));
|
||||
session_start();
|
||||
}
|
||||
session_start();
|
||||
|
||||
// Prevent session fixation by only allowing sessions that have been sent by the server.
|
||||
// Any session that does not contain our unique token will be regarded as foreign/fixated
|
||||
|
Loading…
x
Reference in New Issue
Block a user