web-goddess

Wednesday, April 16, 2003

Woohoo! I managed to fix that bug that prevented Safari users (including myself) from saving their cookies at this site. If you're using GoddessBlog, you need to rewrite a few lines to make it work. If anybody else notices any weirdness when leaving comments here (like if it suddenly won't remember your name), please let me know.
 
In addcomment.php, look at lines 34-37. I'm using the "header" command to send the cookies to the browser. Safari is kinda puking on this, so instead we'll send them a different way. Just change those lines to look like this:
$date = date("D, d-M-y H:i:s", ($time));
setcookie ("userName", $userName, $time, '/', 'www.web-goddess.org');
setcookie ("userEmail", $userEmail, $time, '/', 'www.web-goddess.org');
setcookie ("userUrl", $userUrl, $time, '/', 'www.web-goddess.org');
That should do it! Oh, and of course, replace the www.web-goddess.org with your own domain name. :)

 
Comments
 
I am giving the new Safari a try. This might be the end of ol OmniWeb. I will miss the zoomed editor thing. But tabs are cool, and OmniWeb just can't keep up it seems like.
» Dan » 2003-04-24 12:10:43
 
I know. I had a twinge of guilt this morning when I saw the OmniWeb icon staring dolefully at me from the Dock. I'm pretty much using Safari full time now. Tabs are just too cool. It's still lacking a lot of features OmniWeb has though. Like, occasionally I want to know how big in pixels an image is. There's no way to find that out with Safari. But on OmniWeb, open the image in a new window and hit Command-I for Info. Voila! I'm still using Safari, but little things like that would make me a lot happier.
» Kris [www] » 2003-04-24 12:17:19
 
I am going to miss the cookie management that OmniWeb has. I *really* liked that. But since I reject cookies from 99% of sites, I can live with Safari. For the sites that I do like cookies from, Safari will work for those too with a little workaround. For the occasional must accept cookie even thought I don't want to situation, well, I guess I'll fire up OmniWeb!
» Dan » 2003-04-25 08:47:32
 
Leave a Comment
 
Please note: As this post is over two weeks old, your comment will not appear until it has been moderated.
 

 
Name:
 
* optional
 
Save as cookie?
      E-mail:
 
* Website:
 
What colour is an orange?     (Spam prevention.)
 

» about   » archives   » photos   » contact
archived post

This is where my weblog goes to die. Every post has a permanent home, so this is where you should link if you're so inclined.
"RunningBlog" refers to posts related to running that are cross-posted over at geekgirlrunner.
 
"Moblog" refers to posts and images posted directly from my mobile phone.
 
"PW Blog" refers to posts recovered from my very first weblog, which dealt with news related to my college dorm.
 
 
 
 
 
Created and maintained by Kristine Howard ©2000-2012.