I'm working on an app and I need to determine if two users are friends. I am performing this task in an AJAX call so redirects would obviously break my AJAX response.
Every time I check to see if I am friends with someone, it acts like my session is expired and redirects me to the login page.
Any help would be most appreciated.