![Picture of Manuel Lemos Picture of Manuel Lemos](/picture/user/1.jpg)
Manuel Lemos - 2017-08-20 20:33:30 -
In reply to message 6 from Sebas
I see.
Well currently the class not only generates a random state value, but it also checks the time of when the state value was generated to avoid repetition attacks.
If you completely override the state value, the class will not be able protect against repetition attacks.
Anyway, the class itself uses a session variable to store the state value.
Wouldn't using a separate PHP session variable solve your problem?