-
Notifications
You must be signed in to change notification settings - Fork 53
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
question about session and csrf #31
Comments
What are the values of your config/config.php about expire the cookie and session? Did you change the crsf_token_time to something else? |
Hi ! Thanks for your reply. |
I debug the code, adding new logger in the same method that check csrf, I add debug_backtrace() to see where are passing the code ... I attached it here: |
Hi, You can modify line 59 from core/Sessions.php from..
..to..
..and test then again, if no invalid sessions your useragent returns unstable reliable results! Or..
..to..
..and test then again, if no invalid sessions your IPv4/IPv6 are switching random! |
when I only let validateipaddress:
If I let validateuseragent...
|
hi i have the same problem, how did you solve it? |
I finally removed it, and I created some other checks created by my own. I modified a lot this framework to do what i need to do :) |
Hi Omar, how are you ?
I'm trying your framework , I like it very much.
But I have problems with csrf ... at beggining it works, but after some minutes it doesnt work anymore.
When I create post it said error 400 and in logs appear "invalid CSRF token", I added Session::getCsrfToken() to the same debug line, and it appears empty.
What could be happening ?
Best regards !
The text was updated successfully, but these errors were encountered: