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

                    Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

                    Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

                    Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form