06-12-2018, 01:48 AM
(This post was last modified: 06-12-2018, 02:42 AM by Alexandre Machado.)
Maybe Apple decided that they need an iCookie now, and plain cookies won't work anymore... who knows? :-)
Please give a try with this code instead:
WebApplication.Response.Cookies.AddCookie();
BTW, you shouldn't calculate UTC time yourself. Different applications tread this differently (i.e. SA Indy, ISAPI, etc.). Is not guaranteed that your code will handle them all correctly. IW will convert when necessary. You just need to provide a DateTime value according to your server time.
Also, Apple has been changing cookie policy since iOS 11 release, restricting its usage. Are you sure that cookies are enabled on this specific device?
Please give a try with this code instead:
WebApplication.Response.Cookies.AddCookie();
BTW, you shouldn't calculate UTC time yourself. Different applications tread this differently (i.e. SA Indy, ISAPI, etc.). Is not guaranteed that your code will handle them all correctly. IW will convert when necessary. You just need to provide a DateTime value according to your server time.
Also, Apple has been changing cookie policy since iOS 11 release, restricting its usage. Are you sure that cookies are enabled on this specific device?