I am running an app on Xojo Cloud. The app I have created, takes information, creates a cookie, goes to PayPal. then returns to my app.
It works fine on Explorer on Windows, Firefox on Mac, but does not work on Safari not the Mac.
I have placed msgbox’s and the cookie is coming back empty on Safari, but not Explorer or Firefox. I have check my preferences on Safari, but it allows cookies.
Any ideas
A code example or sample project would be really helpful.
Greg:
Sorry it took so long to reply… I’ve been gone for a week.
The code:
d.totalseconds = d.totalseconds + 300 // One Hour
Session.Cookies.Set(CookieName, CookieContent, d)
Ok, well that doesn’t tell me enough of the story. Please file a bug report and put a sample app on there (one that uses your technique to set the cookie and then make a msgbox) and we’ll have a look.
If 300 seconds is One Hour I’m over 800 years old.
Good catch Jim. Changed it to 3600, but it still does not work with Safari running on a Mac. But it does work with Firefox on Mac, and Explorer on Windows.
One additional note… apparently the cookie does get read eventually because my app does produce the desired results. I think that the cookie is not getting read “quick enough”. Is this possible? Is the event getting “run over”?