-
1. Re: Cookies error in Safari only
quality11 Jul 24, 2011 4:52 AM (in response to quality11)Can anyone help with this?
-
2. Re: Cookies error in Safari only
SnakEyez02 Jul 24, 2011 5:58 AM (in response to quality11)I haven't had a chance to look before now. Was in the process of upgrading my Mac to Lion. I definitely see the error only in Safari. I don't think it's the VBScript, although that can't be seen from the client side since it's processed by the server. My gut here is telling me that your iframe is causing the issue and passing an insecure cookie to a website other than the domain that is currently being accessed. Thus the default Safari security settings are blocking access to the site.
Can you explain a little more of how that 3rd party website (mindbodyonline) works? For instance, what information are you passing in the cookie? Login information?
From what I've been able to read in the developer documentation from MindBodyOnline ( http://training.mindbodyonline.com/manual/advanced ) you can generate an .ics file which can be parsed by a server side script. Unfortunately the one that comes to mind is phpicalendar (as I work more with PHP than ASP). Or you can tap into the API to generate an XML file which can then be parsed using Dreamweaver. The .ics option is easier, but the API would allow you to eliminate the iframe altogether and fit the schedule how you want it to appear on the page.
-
3. Re: Cookies error in Safari only
quality11 Jul 24, 2011 7:03 PM (in response to SnakEyez02)Thanks so much for your kind and thoughtful response. I'm not exactly sure what info it's passing in the cookie. Just the schedule showing up and you can click a top button to change to "workshop", etc.
Sounds like those other methods would work but I've never done those.
-
4. Re: Cookies error in Safari only
SnakEyez02 Jul 25, 2011 4:34 AM (in response to quality11)This is the closets iCal parsar I could find on the .NET side although you previously mentioned you use VBScript and this is C#. The way the Safari cookie system works is that Safari checks the domain that the user is on (eg: address bar) and then checks the domain associated with the cookie since that is a required part of a cookie definition. The default setting in Safari is to block from 3rd parties and advertisers and with Google and Mozilla's response to advertisers using cookies from other domains (eg: facebook) to serve up directed ads, it's possible with later releases that your current method could be blocked down the road.
What I would do as a step is provide a link saying "Can't see this page click here" and then direct the user to that site. Or one other item I saw is that you can export to a Google calendar then share the Google Calendar which doesn't require the cookie.
http://training.mindbodyonline.com/manual/google-calendar-integration
-
5. Re: Cookies error in Safari only
quality11 Jul 25, 2011 4:43 AM (in response to SnakEyez02)Honestly, I actually don't know if it's using VBScript. Someone in another forum suggested that and when we couldn't figure it out he referred me to this forum. So, does that make another solution possible?
I am not getting the error anymore but I think I remember the message pops up and prevents me from seeing and/or accessing the page to see "What I would do as a step is provide a link saying "Can't see this page click here" and then direct the user to that site. Or one other item I saw is that you can export to a Google calendar then share the Google Calendar which doesn't require the cookie. ". Great suggestion. Just not sure if it will work. Can you tell me what you see?
-
6. Re: Cookies error in Safari only
SnakEyez02 Jul 25, 2011 4:53 PM (in response to quality11)Tried it tonight and it seems to be working now.


