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;








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










share|improve this question
































    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










    share|improve this question




























      0












      0








      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










      share|improve this question
















      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






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      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























          1 Answer
          1






          active

          oldest

          votes


















          0














          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.






          share|improve this answer



























            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
            );



            );













            draft saved

            draft discarded


















            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









            0














            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.






            share|improve this answer





























              0














              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.






              share|improve this answer



























                0












                0








                0







                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.






                share|improve this answer













                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.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 26 '18 at 23:03









                makkomastermakkomaster

                1




                1






























                    draft saved

                    draft discarded
















































                    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.




                    draft saved


                    draft discarded














                    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





















































                    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







                    Popular posts from this blog

                    Grendel Contents Story Scholarship Depictions Notes References Navigation menu10.1093/notesj/gjn112Berserkeree

                    Log in Navigation menu

                    Invalid response line returned from server: HTTP/2 401 | ErrorPlease Please Help With Error 500 Internal Server Error after upgrading from 1.7 to 1.9Unable to place new customer orders in admin backendMagento - For “Manage Categories” Forbidden You do not have permission to access this documentHTTP ERROR 500 when using require(_once) app/Mage.phpMemcached causing Web Setup Wizard ErrorCould not create an acl object: Invalid XMLAn error occurred on the server. Please try to place the order againInvalid response line returned from server: HTTP/2 200 - message after update to 2.1.7Magento-CE 2.3.0 installation error on XamppMagento 2.2.6- After Migration all default Payment Methods are not working fine