tags:

views:

695

answers:

1

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

A: 

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).

Kobi
well, my customers report the problem and I have one MAC and one PC with safari, both fails.. I guess COOKIES are nowadays enabled by default. host name is "apps.facebook.com"
Tom