Hi there,
My tenant logs in from http://[tenancyname].mydomain.com. Their browser receives a cookie for the tenancyname subdomain. Is it possible to override this so they receive a cookie for the parent domain (.mydomain.com)? See example 2 here: <a class="postlink" href="http://www.codeguru.com/csharp/csharp/cs_internet/article.php/c19417/Sharing-Cookies-Across-Domains.htm">http://www.codeguru.com/csharp/csharp/c ... omains.htm</a>
Currently their requests to the parent domain are not authorised because the cookie is only valid for the subdomain.
Thanks!
Hi there,
Firstly just wanted to say I'm really enjoying using ASP.NET Zero, it's exactly what I was looking for in a framework. Great job with it!
Within my Zero application I've been trying to set my CurrentCulture to en-AU, primarily for date formatting. I've ensured that both the Windows system region settings and my web.config setting (below) are set to en-AU. I've also verified that other ASP.NET applications on my machine with the same settings are working as expected.
<system.web>
<globalization culture="en-AU" uiCulture="en-AU" />
</system.web>
I've tried changing my localization .xml file culture as so:
<localizationDictionary culture="en-AU">
But within my Zero app, Thread.CurrentThread.CurrentCulture (and CurrentUICulture) is reporting "en" instead of "en-AU". This is problematic because "en" has the wrong date format for me.
Is this a known problem? Is there any way to force Zero to respect the Web.config globalization setting?
PS I've also found this line which I can hard-code with "en-AU" to localize moment.js client side, but I need server side to be consistent. <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero/blob/7f4f765b74c3dd06931b4f8c81e81567071512f1/src/MyCompanyName.AbpZeroTemplate.Web/App/common/views/layout/layout.cshtml#L86">https://github.com/aspnetzero/aspnet-ze ... cshtml#L86</a>
Thanks, Elliot