Forum .LRN Q&A: Re: Res: Problem with safari navegator, (I have a problem with Mac and Safary.)
Yes, we are using standard cookies.
In fact, this worked in our old platform.
I have investigated a little the problem and seems as if the
cookies of session will not behave in this navigator
in the same way. Konqueror, from KDE, have the same problem.
Any pointer to cheer the day to MAC users ?
I've tested with oacs-5-2 and safari and results are:
non-persistent login: can't login
persistent login: can login but can't logout
The language of the machine where my server is, is french; I guess yours is spanish. The content of the set-cookie header is:
ad_user_login=494%.....; Path=/; Expires=Mon, 01-Jan-2035 01:00:00 GMT
ad_session_id=130.....; Path=/; Max-Age=1200; Expires=dim, 16-oct-2005 11:33:14 GMT
The difference is in the expires date format, for ad_session_id is in french. I hardcoded the expires date in ad_set_cookie using english ("Expires=Sun, 16-Oct-2005 ..." instead of "dim, 16-oct-2005") and I could login/logout normally.
The expire date is obtained with ns_time, so we have to reformat this date.