in Education by
On my site, when you log in, I want to keep these sessions alive for 10 hours. Right now my session ends when i close my browser. How can i extend this? I have checked auth lifetime in config, and its set to 2 weeks (in seconds) by default, but still it does not keep me in. Im using Kohana with the Auth module that is included. JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
PHP sessions by default will expire when the browser window closes. You'll need to modify session.cookie_lifetime in php.ini or use ini_set('session.cookie_lifetime', 36000) or session_set_cookie_params(36000) to leave the session cookie alive for 10 hours after browser close.

Related questions

0 votes
    Is there any way to add a custom parameter to identityserver auth request. I tried this way. but it ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 13, 2022 in Education by JackTerrance
0 votes
    I am getting the error 'Uncaught TypeError: firebase.auth is not a function'. My code was working perfectly ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 14, 2022 in Education by JackTerrance
0 votes
    Details If you use the function createCustomToken to sign in the user and setting his custom claim, updating ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 3, 2022 in Education by JackTerrance
0 votes
    What is the purpose of the Auth tab in the testing platform? (a) To specify credentials (b) To ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 23, 2021 in Education by JackTerrance
0 votes
    Failed sessions allow brute-force attacks on access credentials. This type of attacks are done in which layer of the ... questions and answers pdf, mcq on Cyber Security pdf,...
asked Nov 3, 2021 in Education by JackTerrance
0 votes
    How to use file-based sessions in Django?...
asked Jul 2, 2021 in Technology by JackTerrance
0 votes
    Is it possible to maintain sessions in REST on the server-side? 1. No 2. Yes 3. Depends on situation 4. I don’t know...
asked Jun 24, 2021 in Technology by JackTerrance
0 votes
    It is easy to develop secure sessions with sufficient entropy. (1)False (2)True...
asked May 15, 2021 in General by JackTerrance
0 votes
    What are data driven sessions?...
asked Mar 26, 2021 in Technology by JackTerrance
0 votes
    How many SAP Sessions can you work on at a given time?...
asked Jan 4, 2021 in Technology by JackTerrance
0 votes
    How will you maintain the sessions in MVC?...
asked Dec 8, 2020 in Technology by JackTerrance
0 votes
    What happens in Daily Stand-up sessions?...
asked Nov 19, 2020 in Technology by Editorial Staff
0 votes
    Which of the following SSA audit types involves simulating real-life attacker in the unprivileged and privileged modes? ... Audits B. Process Maturity Review C. Technical Review...
asked Feb 25, 2023 in Technology by JackTerrance
0 votes
    Why does Marcuse support state interference in an individual’s life? Please answer the above question....
asked Aug 3, 2022 in Education by JackTerrance
0 votes
    What is the Supreme Court ruling about ‘Right to Life’. Please answer the above question....
asked Aug 3, 2022 in Education by JackTerrance
...