We have a website example.com with several applications in virtual directories. Each of these applications is built. We created a project AzureProject with 1 webrole (2 instances) that includes these applications, then build and deploy the Azureproject.
In their own webrole and with multiple instances each of the applications works fine but when part of the AzureProject webrole AJAX calls are not working and cause the application to log the user out.
What should we be doing to ensure his configuration can work? Any thoughts please?
Thanks for response... the Ajax dlls are in BIN and are accessible... noerror. It seems that an AJAX call on the page is going to the next instance and is not recognising that the user is logged in and then re-directs to the log in page.
But this does not happen when the app is deployed in its own webrole only when it is a VirtualDirectory in a single webrole.
Edited bySeanDBreenFriday, September 14, 2012 9:44 AM
As long as you are setting formauthentication cookie load balancing should not cause any issue. Are you handling anything with session? if so try to externalize the session management with tablestorage provider.
Please mark the replies as Answered if they help and Vote if you found them helpful.