Developer forum

Forum » Development » Keep user loggedin after ending session?

Keep user loggedin after ending session?

Dmitrij Jazel
Reply

Hi guys,

Is it possible somehow keep user loggedin, even after the session was ended?

Customer wanted to know if it is possible somehow to stay loggedin even after browser completely closed or IP switch (mobile device switching between Wifi and mobile network).

Or application recycle?

In other words - could user be still loggedin as long as he is using same device?

/Dmitrij

 

 


Replies

 
Nicolai Pedersen
Reply
This post has been marked as an answer

Yes, kind of.

Technically the user will be logged off after the session dies.

Since Dynamicweb 8.6.1.0, the user will stay logged in for as long as the session cookie lives. So if I do not close my browser, and my session dies (user gets logged out), by the next request DW will login the user again and the user will not see the difference. You can also use autologin feature and the cookie timeout setting (see dump) to extend this behavior to work the same way over mulitple days even if the browser gets closed (have to be the same browser though).

Capture.PNG
Votes for this answer: 1
 
Dmitrij Jazel
Reply

That is great, Thanks Nicolai :)

 

You must be logged in to post in the forum