Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

keep logged in

Questions related to customising nuBuilder Forte with JavaScript or PHP.
Post Reply
getNo
Posts: 21
Joined: Thu Feb 18, 2021 5:56 pm

keep logged in

Unread post by getNo »

I want to get my users kept logged in for some hours.
also when they open the webside in a window via a generated link (https://forums.nubuilder.cloud/viewtopic. ... 435#p23435)

noconfig is set.

Code: Select all

	$nuConfigKeepSessionAlive			= true;						//-- Use a timer to keep the session alive
	$nuConfigKeepSessionAliveInterval	= 6000;						//-- Keep-alive interval. Default 600 s (10 min)
where is the failure? what am i doing wrong?
kev1n
nuBuilder Team
Posts: 4299
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 445 times
Contact:

Re: keep logged in

Unread post by kev1n »

getNo
Posts: 21
Joined: Thu Feb 18, 2021 5:56 pm

Re: keep logged in

Unread post by getNo »

i read the topic, but did not really found a point for me.

i can stay logged in a long time in the same window. No issue there.

But i also want to be logged in, when the webside is opened again in a new window. if i click a link with CTRL for new tab, im logged in. But not, when i copy the url to a new tab.


Is this a normal behavior or just me?
kev1n
nuBuilder Team
Posts: 4299
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 445 times
Contact:

Re: keep logged in

Unread post by kev1n »

getNo wrote: Is this a normal behavior or just me?
That is the case at the moment. Since that has been bugging me too, I hope to find a solution for that.
kev1n
nuBuilder Team
Posts: 4299
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 445 times
Contact:

Re: keep logged in

Unread post by kev1n »

Github updated: Logging in again is not necessary if an existing session exists (and as long as the browser is not closed)
Post Reply