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
sucssite
sso
Commits
09de3c34
Commit
09de3c34
authored
Oct 31, 2019
by
Imran Hussain
Browse files
Make sessions last for 3 days
parent
82073b2b
Changes
1
Hide whitespace changes
Inline
Side-by-side
public/index.php
View file @
09de3c34
...
...
@@ -19,7 +19,7 @@ ini_set("session.sid_length",64);
ini_set
(
"session.hash_bits_per_character"
,
5
);
ini_set
(
"session.hash_function"
,
"sha256"
);
session_set_cookie_params
(
0
,
"/"
,
"sucs.org"
,
true
,
true
);
session_set_cookie_params
(
strtotime
(
"+3 days"
)
,
"/"
,
"sucs.org"
,
true
,
true
);
session_name
(
'sucs_sso_id_v1'
);
session_start
();
...
...
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