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

PHP 8.1 - Invalid token (session timeout; refresh the page and try again?) #637

Closed
zolyyy opened this issue Jul 12, 2022 · 6 comments
Closed

Comments

@zolyyy
Copy link

zolyyy commented Jul 12, 2022

I use latest Postfixadmin 3.11 with PHP 8.1.7
If i try to login, this error:

Invalid token (session timeout; refresh the page and try again?)

  • Session working good on my Ubuntu 20 server
@DavidGoodwin
Copy link
Member

seen #632 ?

@DavidGoodwin
Copy link
Member

can you try using the version of 3.3 from github ( try here : https://github.com/postfixadmin/postfixadmin/archive/refs/heads/postfixadmin_3.3.zip ) - there were some recent fixes for PHP 8.1 which may help

@zolyyy
Copy link
Author

zolyyy commented Jul 12, 2022

Only Chrome!!! Sorry Firefox working...

@DavidGoodwin
Copy link
Member

If one browser works, then it shouldn't be a server side issue, and I'd be inclined to think your browser is blocking cookies for some reason? If you inspect the network requests, is Chrome sending the PHP session cookie to the server?

@DavidGoodwin
Copy link
Member

See also #634 which feels like it may be related?

@zolyyy
Copy link
Author

zolyyy commented Jul 26, 2022

If one browser works, then it shouldn't be a server side issue, and I'd be inclined to think your browser is blocking cookies for some reason? If you inspect the network requests, is Chrome sending the PHP session cookie to the server?

I try with Portable Chrome too... not working... and yes the cookie not working too.

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

2 participants