Bagisto Forum

    Bagisto

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

    Session time in Bagisto

    General Discussion
    4
    4
    667
    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.
    • J
      jonathantyar last edited by

      based on my experience default laravel and bagisto have different time in saving session. can i make it longer in baggisto?

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

        Hi,

        Open your .env file at root of project & find below one.

        SESSION_LIFETIME=10
        

        Here you may specify the number of minutes that you wish the session
        to be allowed to remain idle before it expires.

        Once you changed the value run the following command

        php artisan optimize
        

        Thanks

        1 Reply Last reply Reply Quote 0
        • R
          rozysharma2 last edited by

          based on my experience default laravel and bagisto have different time in saving session. can i make it longer in baggisto? After long time inactive on admin, when user click on any link the expected result should be session goes timeout and redirect to login page
          [url=https://doramasonline.su/]doramas yt[/url]

          1 Reply Last reply Reply Quote 0
          • devansh-webkul
            devansh-webkul last edited by

            @rahul said in Session time in Bagisto:

            SESSION_LIFETIME

            Please check the @rahul answer.

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