Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    How to set individual SESSION_LIFETIME for admin panel & customer panel?

    General Discussion
    2
    3
    217
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      RK REZA last edited by

      How to set individual SESSION_LIFETIME for admin panel & customer panel?

      1 Reply Last reply Reply Quote 0
      • ghermans
        ghermans last edited by

        1. open your .env file
        2. change the following line: SESSION_LIFETIME=20

        Kind regards,
        Glenn Hermans

        Manager Bagisto Europe
        info@bagisto.eu

        1 Reply Last reply Reply Quote 0
        • R
          RK REZA last edited by

          Thanks @ghermans
          But this will change for all. I want different session lifetime for different auth type.
          [Like, for admin SESSION_LIFETIME=20 & for customer SESSION_LIFETIME=10]

          1 Reply Last reply Reply Quote 0
          • First post
            Last post