Magento 2: Cookies expiration time is not extended for customerMagento 2 after customer login redirect to my orders failed to set login_redirect sessionHow can i run a javascript just one time in phtml in Magento 2Magento 2 Cart Pricing Rule not getting applied when customer is already loginMagento 2 rest API - How to Manage API Authentication Lifecycle on Mobile Devices Application?How to Manage API Authentication Lifecycle on Mobile Devices? Magento2How to trigger reload window , after customer cookie lifetime expiration?Magento2: How can solve cache issue when do redirection to login page?PayPal Express Checkout Payment. Error while doing payment on PayPalMagento 2 custom CSS is not loading after set new custom theme set on customer login
How can I see if the data in a SQL Server table is page-compressed?
Does one make a shehecheyanu on "used" jewelry?
Tempoverlustspiel
Is it okay for a ticket seller to grab a tip in the USA?
Why aren’t there water shutoff valves for each room?
What can Amex do if I cancel their card after using the sign up bonus miles?
crippling fear of hellfire &, damnation, please help?
Help, I cannot decide when to start the story
If I animate and control a zombie, does it benefit from Undead Fortitude when it's reduced to 0 HP?
How can I find an old paper when the usual methods fail?
Is there any way to stop a user from creating executables and running them?
Why command hierarchy, if the chain of command is standing next to each other?
Simplification of numbers
How to "add" units to results of pgfmathsetmacro?
Telephone number in spoken words
How can God warn people of the upcoming rapture without disrupting society?
Is this n-speak?
Who invented Monoid?
How big are the Choedan Kal?
Will using a resistor in series with a LED to control its voltage increase the total energy expenditure?
PhD advisor lost funding, need advice
Swap on SSD in 2019?
Why is the Lucas test not recommended to differentiate higher alcohols?
Website error: "Walmart can’t use this browser"
Magento 2: Cookies expiration time is not extended for customer
Magento 2 after customer login redirect to my orders failed to set login_redirect sessionHow can i run a javascript just one time in phtml in Magento 2Magento 2 Cart Pricing Rule not getting applied when customer is already loginMagento 2 rest API - How to Manage API Authentication Lifecycle on Mobile Devices Application?How to Manage API Authentication Lifecycle on Mobile Devices? Magento2How to trigger reload window , after customer cookie lifetime expiration?Magento2: How can solve cache issue when do redirection to login page?PayPal Express Checkout Payment. Error while doing payment on PayPalMagento 2 custom CSS is not loading after set new custom theme set on customer login
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I have increase cookies lifetime for the customer but it not working.
After customer login, 1 to 2-hour customer stay login if he/she close browser then again start browser at that time customer need to log in again is anyone have an idea how to set cookies lifetime for a customer?
https://www.awesomescreenshot.com/image/3139974/13996c6bb53071581243f1695d6e80bb
magento2 magento2.2.2
add a comment |
I have increase cookies lifetime for the customer but it not working.
After customer login, 1 to 2-hour customer stay login if he/she close browser then again start browser at that time customer need to log in again is anyone have an idea how to set cookies lifetime for a customer?
https://www.awesomescreenshot.com/image/3139974/13996c6bb53071581243f1695d6e80bb
magento2 magento2.2.2
add a comment |
I have increase cookies lifetime for the customer but it not working.
After customer login, 1 to 2-hour customer stay login if he/she close browser then again start browser at that time customer need to log in again is anyone have an idea how to set cookies lifetime for a customer?
https://www.awesomescreenshot.com/image/3139974/13996c6bb53071581243f1695d6e80bb
magento2 magento2.2.2
I have increase cookies lifetime for the customer but it not working.
After customer login, 1 to 2-hour customer stay login if he/she close browser then again start browser at that time customer need to log in again is anyone have an idea how to set cookies lifetime for a customer?
https://www.awesomescreenshot.com/image/3139974/13996c6bb53071581243f1695d6e80bb
magento2 magento2.2.2
magento2 magento2.2.2
edited Jan 31 '18 at 9:14
Navin Bhudiya
asked Jan 31 '18 at 9:00
Navin BhudiyaNavin Bhudiya
9721 gold badge12 silver badges27 bronze badges
9721 gold badge12 silver badges27 bronze badges
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Look inside your server php.ini file
SSH in and type to found your php.ini location: php -i | grep "Loaded Configuration File"
Check:
Lifetime in seconds of cookie or, if 0, until browser is restarted.
session.cookie_lifetime = 0
0 value= Clear session every time you restart the computer or close and open browser.
and
After this number of seconds, stored data will be seen as 'garbage' and
cleaned up by the garbage collection process.
session.gc_maxlifetime = 1440
1440 value Sec = 24 Minutes
both Values need to be at least: 86400
if you change this two values to 86400 your issue must be solved.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f211661%2fmagento-2-cookies-expiration-time-is-not-extended-for-customer%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Look inside your server php.ini file
SSH in and type to found your php.ini location: php -i | grep "Loaded Configuration File"
Check:
Lifetime in seconds of cookie or, if 0, until browser is restarted.
session.cookie_lifetime = 0
0 value= Clear session every time you restart the computer or close and open browser.
and
After this number of seconds, stored data will be seen as 'garbage' and
cleaned up by the garbage collection process.
session.gc_maxlifetime = 1440
1440 value Sec = 24 Minutes
both Values need to be at least: 86400
if you change this two values to 86400 your issue must be solved.
add a comment |
Look inside your server php.ini file
SSH in and type to found your php.ini location: php -i | grep "Loaded Configuration File"
Check:
Lifetime in seconds of cookie or, if 0, until browser is restarted.
session.cookie_lifetime = 0
0 value= Clear session every time you restart the computer or close and open browser.
and
After this number of seconds, stored data will be seen as 'garbage' and
cleaned up by the garbage collection process.
session.gc_maxlifetime = 1440
1440 value Sec = 24 Minutes
both Values need to be at least: 86400
if you change this two values to 86400 your issue must be solved.
add a comment |
Look inside your server php.ini file
SSH in and type to found your php.ini location: php -i | grep "Loaded Configuration File"
Check:
Lifetime in seconds of cookie or, if 0, until browser is restarted.
session.cookie_lifetime = 0
0 value= Clear session every time you restart the computer or close and open browser.
and
After this number of seconds, stored data will be seen as 'garbage' and
cleaned up by the garbage collection process.
session.gc_maxlifetime = 1440
1440 value Sec = 24 Minutes
both Values need to be at least: 86400
if you change this two values to 86400 your issue must be solved.
Look inside your server php.ini file
SSH in and type to found your php.ini location: php -i | grep "Loaded Configuration File"
Check:
Lifetime in seconds of cookie or, if 0, until browser is restarted.
session.cookie_lifetime = 0
0 value= Clear session every time you restart the computer or close and open browser.
and
After this number of seconds, stored data will be seen as 'garbage' and
cleaned up by the garbage collection process.
session.gc_maxlifetime = 1440
1440 value Sec = 24 Minutes
both Values need to be at least: 86400
if you change this two values to 86400 your issue must be solved.
answered Nov 26 '18 at 23:03
makkomastermakkomaster
1
1
add a comment |
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f211661%2fmagento-2-cookies-expiration-time-is-not-extended-for-customer%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown