Skip to content
Advertisement

Tag: phalcon

Control repeated requests in Phalcon

I want to intercept the same request, so i write a flag in session if one request come, such like this: in Security.php/beforeExecuteRoute in ControllerBase.php/afterExecuteRoute But the session of write need real time, if the request send quickly, it will not work fine.For example,at the same time, only to allow a person to enter, when a person enters,the door will

Advertisement