Make WordPress Core


Ignore:
Timestamp:
10/20/2003 08:53:13 PM (22 years ago)
Author:
emc3
Message:

Cookies are now unique, based on siteurl, allowing multiple installs under a single domain name.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/b2comments.post.php

    r407 r458  
    119119        $url = ' '; // this to make sure a cookie is set for 'no url'
    120120
    121     setcookie('comment_author', $author, time()+30000000);
    122     setcookie('comment_author_email', $email, time()+30000000);
    123     setcookie('comment_author_url', $url, time()+30000000);
     121    setcookie('comment_author_'.$cookiehash, $author, time()+30000000);
     122    setcookie('comment_author_email_'.$cookiehash, $email, time()+30000000);
     123    setcookie('comment_author_url_'.$cookiehash, $url, time()+30000000);
    124124
    125125    header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
Note: See TracChangeset for help on using the changeset viewer.