Redirect to login in ajax request if token expires

Posted 3 years ago by gayatri

Hi guys, I wanted to redirect the page to login if csrf token expires in ajax request. Can anyone tell me how to do it. I added csrf in the view and ajax headers as well. Any suggestions

Please sign in or create an account to participate in this conversation.