any ideas why my SESSION code works with IE+Firefox+chrome but fails with safari..
page1.aspx has code:
Session("sessioncreated") = Now.Ticks
page2.aspx : problem is here( when user comes to page2:)
If Session("sessioncreated") Is Nothing Then
' critical error - SAFARI comes here, data is lost
else
' all other browsers come here OK
end if
how to debug this further?
my web.config has nothing special - I am using just the default values for session handling
Your redirection is causing safari to consider the cookie a third party cookie, and Safari doesn't allow third party cookies inside an IFrame (every facebook app is inside an IFrame nowadays).
Hope this helps.
Do you have cookies enabled on Safari?
Also, it seems Safari would not accept cookies if you have an underscore on the host name (eg, http://ex_ample/mysite - source).