The officially official Devuan Forum!

You are not logged in.

#1 2016-12-19 14:40:57

Geoff 42
Member
Registered: 2016-12-15
Posts: 462  

Auto-logout

I have just spent a long time typing in a reply, only to have been auto-logged out. When I log back in, it has lost my reply.

Geoff

Offline

#2 2016-12-19 14:59:35

golinux
Administrator
Registered: 2016-11-25
Posts: 3,316  

Re: Auto-logout

We have all been bit by that at one time or another.  Did you check "keep me logged in" at login?  Apart from that, I suggest you write longer posts in a text editor then just c/p to avoid losing work.  I don't remember seeing an option to increase timeout but will double check.  I hope you will take the trouble to rewrite your response.

Offline

#3 2016-12-19 15:04:19

Geoff 42
Member
Registered: 2016-12-15
Posts: 462  

Re: Auto-logout

I've calmed down a bit now and am recomposing in emacs for a quick cut and paste. I didn't realise that my reply would take that long...

All the best

Geoff

Offline

#4 2016-12-20 10:57:02

Geoff 42
Member
Registered: 2016-12-15
Posts: 462  

Re: Auto-logout

I wonder whether we can use the preview button as a sort of save/keep me logged in facility?

Geoff

Offline

#5 2016-12-20 17:13:11

golinux
Administrator
Registered: 2016-11-25
Posts: 3,316  

Re: Auto-logout

Geoff 42 wrote:

I wonder whether we can use the preview button as a sort of save/keep me logged in facility?

Geoff

Trying right now.  Started this 3 hours ago and left it sitting.  Preview just refreshed properly.  Let's try to post!

Well, it worked here.  Don't know whether being an admin had anything to do with it.  Anyone else want to give it a try?

Last edited by golinux (2016-12-20 17:15:27)

Offline

#6 2016-12-20 23:09:26

blinkdog
Member
Registered: 2016-11-30
Posts: 5  

Re: Auto-logout

golinux wrote:

[Anyone else want to give it a try?

I started this post at 15:55.

Now trying to submit at 17:10.

-----
Edit: This was a single shot. I clicked Quote to reply to golinux, and then typed the first sentence.
I waited 75 minutes, without interacting with the site (no preview, no other page loads, etc.)
I typed the second sentence and immediately following clicked Submit.

Last edited by blinkdog (2016-12-20 23:59:09)

Offline

#7 2017-09-11 00:55:56

gdagar
Member
Registered: 2017-08-11
Posts: 4  

Re: Auto-logout

It's nine months later and this problem is not solved.
There is no longer any 'preview' button that I can see.
There is also no box to tick for 'keep me logged in'.
I just spent about 3 hours composing my first post in reply to a person who had not had a single reply to his long thread of posts in 2 weeks, not from a dev or admin or anyone. I think myself uniquely qualified to help him so I tried, only to be logged out automatically and have my reply deleted. I'll have to cool my jets before I can try again to help the guy.
Please put a tip in some obvious place about autologout and composing, copying, and pasting from a text editor, so new folks will know. This is an unreasonable barrier to folks trying to help folks. I've never seen it on any other forum.

On a positive note, what Devuan is doing is rare and valuable, and I'm committed to it. I will work with the circumstances that prevail and help to find a better solution if I can. To start, I'd like to suggest a 'Read This First Before Posting' section at the very top of the Index. Many forums have them and I find them very helpful and useful.

Last edited by gdagar (2017-09-11 05:25:51)

Offline

#8 2017-09-11 10:59:56

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,486  

Re: Auto-logout

You should see a Preview button next to the Submit button, just under the Quick reply box at the bottom of the page and also under the Post a reply box.

I've gotten into the habit of highighting/copying my message to clipboard before hitting Preview or Submit. If I've been logged out, I can just log in and paste the message.

Offline

#9 2017-09-11 13:02:00

Somewhat Reticent
Member
Registered: 2017-04-06
Posts: 103  

Re: Auto-logout

Another option is to submit early, then edit and submit again (often enough to stay logged in?).
The only cost is a line noting such edit added a few lines below:  "Last edited by {author} ({date} {time})", which doesn't show in preview.
(perhaps include "work-in-progress" label until done?)

Last edited by Somewhat Reticent (2017-09-11 13:08:06)

Offline

#10 2017-09-13 03:28:58

gdagar
Member
Registered: 2017-08-11
Posts: 4  

Re: Auto-logout

All of you abandoned systemd because it forced you to behave a certain way.

I am abandoning this forum because it forces me to behave a certain way.

I'll return when I see that auto-logout is no longer an accepted feature (read bug). If I recall right, that Pwnie Award winning systemd developer called something in it a "feature, that everyone else called a "bug".

In the meantime, I will leach from and freeload off of Devuan but not contribute to it, just as it appears that you are doing with Debian.

One last effort to try to help. Check out the Artix Forum Index Page. The login section allows one to choose login duration from a dropdown menu.

Last edited by gdagar (2017-09-13 07:30:32)

Offline

#11 2017-09-13 04:01:27

golinux
Administrator
Registered: 2016-11-25
Posts: 3,316  

Re: Auto-logout

@gdager . . . One solution would be to opt to stay logged in and then logout when you're finished.  Another would be for you to provide a patch to provide that function and ask us to implement it.  But if you'd rather storm off in a snit so be it.  Would you like me to delete your account?  In the meantime, how about a 'time out'.

Offline

#12 2017-09-13 08:16:27

Centurion Dan
Member
Registered: 2016-12-06
Posts: 9  

Re: Auto-logout

@gdager.. subscribe to git.devuan.org and use the git.devuan.org oauth integration... gitlab has a session expiry of days iirc...

Offline

#13 2017-09-13 14:26:29

golinux
Administrator
Registered: 2016-11-25
Posts: 3,316  

Re: Auto-logout

Centurion Dan wrote:

@gdager.. subscribe to git.devuan.org and use the git.devuan.org oauth integration... gitlab has a session expiry of days iirc...

This on irc before I woke up with some spelling, mathematical corrections and annotation:

<rrq> [05:54:24] by a brief scan of the source: there are 3 expiration times in play:
<rrq> [05:55:43] 1) after registration and profile update, there's only a short expiration time (3 minutes)
<rrq> [05:55:59] 2) after password login, the expiration time is 14 days
<rrq> [05:56:18] 3) with gdo login, the expiration time is a year.
<rrq> [05:56:27] all that is for the session cookie validity
<rrq> [05:56:59] (actually, 1 is 1800 seconds = 30 minutes)
<rrq> [05:57:36] then there's the inactivity timeout of 300 seconds. And I think that's what they grumble about.
<rrq> [06:00:26] (actually 2 is only if you tick the "keep me logged in" option; otherwise it's 1800 seconds)
<rrq> [06:02:41] with some modern browsers, one can convince it to juggle the required password on demand, seamlessly, under the hood, and seemingly stay logged in indefinitely.  [This is my experience but I am here a lot - golinux]
<rrq> [06:03:50] anyhow, it's the inactivity timeout that makes it a problem to procrastinate while authoring.
<rrq> [06:08:36] "The average person types between 38 and 40 words per minute.." (google tells me)
<fsmithred> [06:12:51] typing is not activity?
<rrq> [06:13:42] if you type really hard, it might bounce through the server wink
<fsmithred> [06:14:24] lol
<rrq> [06:14:36] no; "inactivity time" is the time difference between two server interactions.
<fsmithred> [06:14:48] yahoo chat used to tell you when the person you were talking to was typing
<fsmithred> [06:15:29] why would the dude's preview button be missing?
<rrq> [06:16:20] it probably just was below the window edge.
<rrq> [06:20:08] But it's terribly easy to change the inactivity timeout from 300 to any other number of seconds.
<fsmithred> [06:20:34] five minutes is too short
<rrq> [06:21:16] an hour?
<fsmithred> [06:21:51] I was thinking 15 minutes, but that might be too short, too.
<fsmithred> [06:22:08] takes me longer than that sometimes
<fsmithred> [06:22:53] but I learned long ago not to expect to stay logged in when I'm replying. Been bitten by that at lots of forums.
<rrq> [06:23:28] now I realised 1800 is half an hour... I'll make it 1800 ...
<fsmithred> [06:23:44] that's good

Offline

#14 2017-09-13 21:30:47

greenjeans
Member
Registered: 2017-04-07
Posts: 541  
Website

Re: Auto-logout

fsmithred wrote:

I've gotten into the habit of highighting/copying my message to clipboard before hitting Preview or Submit. If I've been logged out, I can just log in and paste the message.

+100

Been doing this for years and use it everywhere without fail.  Even if a forum doesn't boot you, sometimes a router will, or service goes down for a sec.


https://sourceforge.net/projects/vuu-do/
Vuu-do GNU/Linux, minimal Devuan-based openbox systems to build on, maximal versions if you prefer your linux fully-loaded.

Please donate to support Devuan and init freedom! https://devuan.org/os/donate

Offline

#15 2017-09-14 11:50:30

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,486  

Re: Auto-logout

The timeout has been increased to 30 minutes.

Also, if you check the box for automatic login (at the login screen) and you set dev1galaxy.org cookies to expire when closing the browser, it's the same as "keep me logged in". You won't be automatically logged in if the cookies are gone, and you won't be logged out if you go beyond the timeout.

Offline

#16 2018-02-05 00:00:03

stanz
Member
From: Northern Earth ~ Brrrr
Registered: 2018-01-14
Posts: 162  

Re: Auto-logout

LoL..typed in file ~ c/p'ed here..

I don't believe the setting is still for 30 minutes.
My experiance is with phpBB, and being admin or mod, did make a differance...~ No biggie smile

But, I'm not complaining, it's on all forums & I just get bit once&again.
I believe another un-noticed issue lies in the browser cookie settings.
I just went thru this after a question with golinux.
I'm using Palemoon now, had Ffox before.
I had to change my browser cookie settings to accept & keep this forum's
cookie. When bringing up the forum site - I'm logged in already.

If I log out (which is what we're told to do for security/privacy practices) - cookies gone & need to sign in again.
Palemoon is not keeping my "Exceptions - Cookies" additions.
Adding DevForums to use cookies for session/always, might not stick,
which is no biggie for me.

Would be nice if user profile had choices for time-out/log-out preference.
But, now I'm jus` rambling... cool

Type time - 20min
c/p time - 2 nano sec  ... tongue


miyoisomix.i2p

Offline

#17 2018-02-06 08:08:50

stanz
Member
From: Northern Earth ~ Brrrr
Registered: 2018-01-14
Posts: 162  

Re: Auto-logout

fsmithred wrote:

The timeout has been increased to 30 minutes.

Also, if you check the box for automatic login (at the login screen) and you set dev1galaxy.org cookies to expire when closing the browser, it's the same as "keep me logged in". You won't be automatically logged in if the cookies are gone, and you won't be logged out if you go beyond the timeout.

I gots to adjust my last post...
I checked the login option - been here all day - refreshed and posted after hours of being outside playing snowman & I'm still logged in and posting now!
Rock On! ~ yikes


miyoisomix.i2p

Offline

Board footer