Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If state timeout redirect user to original page #510

Open
ghost opened this issue Jan 31, 2024 · 0 comments
Open

If state timeout redirect user to original page #510

ghost opened this issue Jan 31, 2024 · 0 comments

Comments

@ghost
Copy link

ghost commented Jan 31, 2024

We left the state timeout at 180s but some users are still timing out. Unfortunately they're seeing the login page still when we'd prefer that they just went back to the page they originally came from. Is there a way to set a second transient with an appended ID and an action if their transient is expired to go back where they originally came from? I've tried the hooks for expired transients but am not able to get any data from it because that's the nature of transients, you destroy it by accessing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants