need laravel code(not core php) to set session for 30 second
Hi actually i want to make a 30 second session from laravel . i know we can do session using core php .but i am not able to find the code for 30 second
in laravel you can flash your sessions for just one request - perhaps thats what you are wanting? but 30 sec session doesnt make sense until you tell us what you are trying to do
@SNAPEY - actually i have made a otp verification code in my project. And when i send my otp at that time i have to start my session as otp send . And yes i have also provided a otp resend code. But i want to make user to go back and type the number again and get the otp. if he is on my otp page for more that 30 second. so for that reason i want 30 second session.