Skip to content

Commit

Permalink
Change example script to use cookies for session
Browse files Browse the repository at this point in the history
Issue #13630

Signed-off-by: Michal Čihař <michal@cihar.com>
  • Loading branch information
nijel committed Sep 28, 2017
1 parent 073dd37 commit 4dde55b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/signon.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
* @subpackage Example
*/

/* Use cookies for session */
@ini_set('session.use_cookies', 'true');
/* Need to have cookie visible from parent directory */
session_set_cookie_params(0, '/', '', true, true);
/* Create signon session */
Expand Down

0 comments on commit 4dde55b

Please sign in to comment.