I have a strange problem!
Set this in your host file to see it online : 81.95.241.216 test.sainttropez.com
What happens here is that i have made some code in that is executed in the page load in default.aspx. What it does is detect the browser language and then redirects the user to the a subdomain. Pretty basic.
HttpContext.Current.Session["NIQSelectedCountry"] = cic.Ietfcode;
HttpContext.Current.Response.Redirect("http://" + cic.ISOCountryCode + "." + domain,true);
to make the redirection work set your browser language to dk or gb-uk and set in the host file again 81.95.241.216 dk.test.sainttropez.com or gb.test.sainttropez.com
In IE the session is stored and i can get it, but in Chrome and FF its not. I googled some and only thing i could find was people speaking about the sessionID is stored in a cookie, i have checked and this cookie is present in Chrome - so i cant seem to figure out why the session is missing and why it is browser specifik ? So thats why im posting here, might be DW related.
BTW - I alert the session value out in a PageTemplateExtender after the redirection, if it matters.
Does anybody have any idea what is going on?
to make the redirection work set your browser language to dk or gb-uk and set in the host file again 81.95.241.216 dk.test.sainttropez.com or gb.test.sainttropez.com
In IE the session is stored and i can get it, but in Chrome and FF its not. I googled some and only thing i could find was people speaking about the sessionID is stored in a cookie, i have checked and this cookie is present in Chrome - so i cant seem to figure out why the session is missing and why it is browser specifik ? So thats why im posting here, might be DW related.
BTW - I alert the session value out in a PageTemplateExtender after the redirection, if it matters.
Does anybody have any idea what is going on?