Esri / application-boilerplate-3x-js

Starter application that simplifies the process of building templates for the ArcGIS.com template gallery.
https://developers.arcgis.com/javascript/
Apache License 2.0
90 stars 68 forks source link

Special handling of 'localhost' for the auth cookie. #8

Closed robert-claypool closed 10 years ago

robert-claypool commented 10 years ago

This is my solution for running the app at http://localhost. Without this change, the cookie is never created because "localhost" is apparently an invalid value for the cookie's domain (tested in Chrome latest and IE 10). I can login to the app without this change, but I'm forced to login again with every page refresh.

driskull commented 10 years ago

Looks good. thanks