• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

Login persistence for mobile

Scheduled Pinned Locked Moved Feature Requests
9 Posts 4 Posters 2.9k Views
    • 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.
  • Q Offline
    Q Offline
    quahfamili
    wrote on last edited by
    #1

    I m using mobile chrome, i observed that after awhile i will be log out. Is there any means to have and option to save my session or persistently log me back in.

    1 Reply Last reply
    1
  • Y Offline
    Y Offline
    yokatta24
    wrote on last edited by yokatta24
    #2

    I believe the way it is programmed at the moment is to behave as a browser session. Meaning, your session will only last as long as you have your browser open, and once you close it you will log out. This should be able to be changed easily by changing the max age in the session middleware. Since if this max age is 0, then it will behave as a browser session, otherwise it will be the amount of time (in milliseconds I think) after logging in that the session will expire.

    1 Reply Last reply
    0
  • julianJ Offline
    julianJ Offline
    julian GNU/Linux
    wrote on last edited by
    #3

    Since if this max age is 0, then it will behave as a browser session, otherwise it will be the amount of time (in milliseconds I think) after logging in that the session will expire.

    Interesting -- we'll add it as soon as we have a bit of time. Or you could submit a pull request as well ๐Ÿ™‚

    1 Reply Last reply
    0
  • Y Offline
    Y Offline
    yokatta24
    wrote on last edited by
    #4

    I suppose I could. Would you rather have this setting be in the config.json or as a meta setting?

    1 Reply Last reply
    0
  • julianJ Offline
    julianJ Offline
    julian GNU/Linux
    wrote on last edited by
    #5

    Would have to be a meta setting, if you want it to be configurable.

    But honestly, I think 14 or 30 days is "standard" anyway, so I wouldn't think it would need to be configurable.

    1 Reply Last reply
    0
  • barisB Offline
    barisB Offline
    <baris> NodeBB
    wrote on last edited by baris
    #6

    closed #201 ยท NodeBB/NodeBB@14e7907

    Node.js based forum software built for the modern web - closed #201 ยท NodeBB/NodeBB@14e7907

    favicon

    GitHub (github.com)

    1 Reply Last reply
    0
  • barisB Offline
    barisB Offline
    <baris> NodeBB
    wrote on last edited by
    #7
    This post is deleted!
    1 Reply Last reply
    0
  • julianJ Offline
    julianJ Offline
    julian GNU/Linux
    wrote on last edited by
    #8

    Thanks @baris ๐Ÿ˜›

    1 Reply Last reply
    0
  • julianJ Offline
    julianJ Offline
    julian GNU/Linux
    wrote on last edited by
    #9
    This post is deleted!
    1 Reply Last reply
    0

Copyright ยฉ 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development