Current location: Hot Scripts Forums » General Web Coding » JavaScript » cookie prob


cookie prob

Reply
  #1 (permalink)  
Old 09-07-07, 10:21 AM
daivagna daivagna is offline
Newbie Coder
 
Join Date: Sep 2006
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
cookie prob

hello sir,i am having standard code of javascript which creates cookie,just its shown in w3schools i have checked in all browser but it does not work in safari..it just does not create the cookie...help me...i think safari does not accept cookie from localhost...??? is it so?? what to do

Last edited by Nico; 09-07-07 at 10:29 AM.
Reply With Quote
  #2 (permalink)  
Old 09-08-07, 07:58 PM
TwoD TwoD is offline
Community VIP
 
Join Date: Sep 2003
Location: 404
Posts: 1,813
Thanks: 0
Thanked 0 Times in 0 Posts
The security settings in Safari might prevent you from storing cookies, try changing them. I don't know any specific details about problems with cookies in Safari, but if it only happens with cookies from localhost, there should be no problems since I assume your visitors won't be browsing the site on that machine.

If the problem persists after changing the settings, post any errors you get, including the whole code. (Remember to check the JavaScript console, i think Safari has one like FF does.)
__________________
[W3Schools - learn all about the standards.] [QuirksMode - Browser Quirks] [MS's Online Reference Docs] [DOM in Gecko.]
Please pay attention to stickys, announcements and forum rules, thank you.
Please also remember Code Wrappers and [SOLVED] Marking, this helps everyone.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
cookie problems pricecd JavaScript 1 04-24-06 12:58 AM
access cookie from different path crmpicco JavaScript 1 02-21-06 03:03 PM
maintaing state with a server Betty Perl 0 12-09-05 07:23 AM
Setting a cooke (time it expires) mcrob PHP 4 04-27-05 12:13 PM
Passing info between pages w/ URL HairySpider JavaScript 6 01-09-05 08:47 AM


All times are GMT -5. The time now is 11:31 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.