function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

AJAX Toolkit Shell - infinite loop of prompts to login?

I know there are many other ways to access Salesforce API endpoints than through the AJAX Toolkit Shell.  So, the following problem is not holding me up and shouldn't hold up anybody else.  That being said....

If you try to use the AJAX Toolkit Shell, do you also experience an infinite loop of prompts to login?

Use case:
  1. The help page at says to use the AJAX Toolkit Shell.  (Yes, I know there are resources other than the AJAX Toolkit Shell that can be used to get the information that page is directing you to get.)
  2. When I go to the toolkit at https://[my-domain], then Salesforce redirects me to the login page at https://[my-domain] After I log in, Salesforce takes me back to the AJAX Toolkit Shell page, but that page redirects me again to the login page. This loop continues ad infinitum.
The cause for this loop appears to be that the "sid" cookie is inaccessible from Salesforce's Toolkit JavasSript because Salesforce elsewhere flagged the "sid" cookie as "HttpOnly".  (So, the cookie is passed during HTTP/S communication but isn't accessible to the JavaScript.)

Thoughts?  Confirmations?

(Again, I know there are lots of resources available other than the  AJAX Toolkit Shell that work.  This question is solely about whether anybody else is encountering this error with the Tookit itself.)