Commit Graph

13 Commits

Author SHA1 Message Date
Michal Čihař
aa1cb197f5 Merge branch 'QA_4_7' 2017-10-20 11:25:28 +02:00
Michal Čihař
f2dcdfff50 Do not hardcode secure flag in examples
We can not assume that setup will be https by default, so having false
as default is safer.

Fixes #13758

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-20 11:24:00 +02:00
Michal Čihař
4dde55b10c Change example script to use cookies for session
Issue #13630

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-28 16:02:26 +02:00
Michal Čihař
8095b837fa Hide session error messages to avoid FPD
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-07-12 12:38:32 +02:00
Isaac Bennetch
c4a595357f Add Secure and HttpOnly flags for session cookie setup in examples
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2016-07-10 22:35:38 -04:00
Marc Delisle
357b1b4757 Remove some unnecessary string concatenations
https://github.com/dseguy/clearPHP/blob/master/rules/no-unnecessary-string-concatenation.md

Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-12-04 09:05:42 -05:00
Michal Čihař
064e45c878 Correct params to session_set_cookie_params
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-05-08 10:48:09 +02:00
Marc Delisle
8d43cedeff bug #4364 examples/signon.php does not support the SessionSavePath directive
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-04-30 08:30:11 -04:00
Michal Čihař
534bbc7e48 Various coding style improvements in examples 2013-05-02 10:47:41 +02:00
Michal Čihař
5370d0d6c3 Fix spacing of @package used together with @subpackage 2012-05-02 11:29:34 +02:00
Jo Michael
653f086815 Replaced xml:lang attributes by lang for HTML5 2012-03-18 14:46:59 +01:00
Jo Michael
af0e6c71e7 Use HTML5 DOCTYPE along with new charset meta-tag 2012-03-16 22:54:32 +01:00
Michal Čihař
850b202e82 Move signon and openid examples to examples folder 2012-02-13 13:29:31 +01:00