How can i prevent the session store from creating a session on JSON/XML calls ?
My problem is that i save sessions in a database and it gets flooded on multiple api calls.
I’m using Rails 3.2.2 and Devise for authentication.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
My problem here was with Warden inside Devise. I had to “tell” Warden not to store the user in the session after the user is authenticated.
Hope that helps whoever sees this thread.