Is there a timeout period with inactive sessions in Phoenix?

Is there a timeout period with inactive sessions in Phoenix?

By session do you mean the cookie (timeout)? Server session (depends on datastore you chose)? Channel (entirely controlled by the programmer other than page close)? Etc…?

@OvermindDL1 in Java world if there is a session inactivity for 30 minutes(in Tomcat ), you are automatically logged out.Can we do that in Phoenix at all?

Lot’s of ways! I prefer setting a timeout on the token (4hrs at work for example) and just always sending back a new token in the cookie with a reset timeout. I then use a simple janitor process to clean the DB once a day. :slight_smile:

But there are tons and tons of other ways too, all depends on the details of how you want it done. :slight_smile:

1 Like

Thanks @OvermindDL1

1 Like