New topic Closed topic
avatar image
1
How long does a CRSF token last?
By Created , last editted

Hi,


I was wondering how long a CSRF token lasts.


I sometimes get an Invalid CSRF Token error, I've learned that renewing your session (loggin in and out) solves this most of the time, so I to see if I somehow can log a user out automatically if the CSRF token has expired.


Has anyone got an idea how I can achieve this? :)


Hi,


I was wondering how long a CSRF token lasts.


I sometimes get an Invalid CSRF Token error, I've learned that renewing your session (loggin in and out) solves this most of the time, so I to see if I somehow can log a user out automatically if the CSRF token has expired.


Has anyone got an idea how I can achieve this? :)

Answers
Sort by:

This topic is closed.