Do csrf tokens expire?



Do csrf tokens expire?..

Answer / Ankit Agrawal

Yes, CSRF tokens should have an expiration time to ensure that a stolen token cannot be reused indefinitely. The exact expiration time can vary depending on your application's requirements and security policies.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More PHP Interview Questions

Which is better get or post method?

1 Answers  


1.What are the difference between echo , print , print_r ? else this 3 can we show output to a client in some other way?

16 Answers   Leeway Hertz,


How to get number of elements in an array?

1 Answers  


What is the use of stripslashes in php?

1 Answers  


Tell me what does pear stands for?

1 Answers  


What are Routines?

1 Answers  


How to find the length of a string?

1 Answers  


how long a default session stay in php?

8 Answers  


Explain about switch statement in PHP?

1 Answers  


What is $_ server request_method == post?

1 Answers  


What does $_server mean?

1 Answers  


How to send Email using PHP with MySQL in Linux Server?..

3 Answers  


Categories