www.webdeveloper.com
Results 1 to 7 of 7

Thread: Review my new groovy website...

Hybrid View

  1. #1
    Join Date
    Oct 2003
    Location
    Australia
    Posts
    119

    Exclamation Review my new groovy website...

    Hello I have just about completed the design for Gooba.tk, like the CSS zen garden it has multiple layouts (if you guy really want you could do the same thing and send me a .css file to add to it. . but anyway i have a few features that use cookies including that layout selector. although there is one problem:

    if the user's browser privacy settings for cookies is set to moderate then the cookies do not store (in fact to even view the extra layouts at all u must have the setting set to Low or Accept All Cookie.

    Access cookie acceptance by: Tools > Internet Options > Privacy

    Is there a way of making my cookies more secure or something or is there some flaw in my coding (if you open the .js file on the site: Click for .js file the coding for my cookies is at the bottom)

    It is extrememly important that i have my cookies working on all computers thanx for any help

  2. #2
    Join Date
    Oct 2003
    Location
    Australia
    Posts
    119

    oh yeah i forgot...

    also it would be helpful for some advice or suggestions for improving the website, there will be more pages to come (there is only two yet i think)

    and here is the code for my cookies:

    PHP Code:
    function createCookie(namevalue) {
    name=escape(name);
    value=escape(value);
    if(
    document.cookie != document.cookie
    {
    index document.cookie.indexOf(name);}
    else 
    index = -1;}

    if (
    index == -1)
    {
    document.cookie=name+"="+value+"; expires=Sunday, 16-Feb-3586 05:39:59 GMT"
    }

    }



    function 
    getCookie(name) {
    name=escape(name)
    if(
    document.cookie)
    {
    index document.cookie.indexOf("; "+name+"=");
    if (
    index<&& document.cookie.indexOf(name+"=")==0index=-2;
    else if (
    index<0) return false;
    index+=2;
    if (
    index != -1)
    {
    namestart = (document.cookie.indexOf("="index) + 1);
    nameend document.cookie.indexOf(";"index);
    if (
    nameend == -1) {nameend document.cookie.length;}
    return 
    unescape(document.cookie.substring(namestartnameend));
    }
    }


  3. #3
    Join Date
    Oct 2003
    Location
    Australia
    Posts
    119

    Plupid me

    i guess a link would be useful hey www.gooba.tk

  4. #4
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    You can not control a users preference to use or not to use cookies

  5. #5
    Join Date
    Oct 2003
    Location
    Australia
    Posts
    119
    i am not trying to tell the browser to accept cookies, im just trying to get it to work for mine, i mean on the same setting it wroks in hotmail and this site and every others but for some reason on mine it has to be on a very low setting, is there something unsecure about my cookies?

  6. #6
    Join Date
    Oct 2003
    Location
    Australia
    Posts
    119
    # Bump #

  7. #7
    Join Date
    Aug 2003
    Location
    In my house
    Posts
    4,004
    Maybe some nice Murderator can move this to the correct forum, since this isn't it.
    Thousand different paths
    So many sterile ends
    I chose the Devil's path

    Never shall the sun kiss my face
    And caress me with it's burning light
    For I dwell in the shadows
    And sleep side by side with death

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles