Click to See Complete Forum and Search --> : Review my new groovy website...


benjamin
04-28-2004, 07:17 AM
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 (http://www.gooba.rollingtank.com/codes.js) 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

benjamin
04-28-2004, 07:20 AM
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:


function createCookie(name, value) {
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<0 && document.cookie.indexOf(name+"=")==0) index=-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(namestart, nameend));
}
}
}

benjamin
04-28-2004, 07:23 AM
i guess a link would be useful hey www.gooba.tk (http://www.gooba.tk/)

Fang
04-28-2004, 07:58 AM
You can not control a users preference to use or not to use cookies

benjamin
04-30-2004, 06:30 AM
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?

benjamin
05-02-2004, 12:51 AM
# Bump #

Paul Jr
05-02-2004, 11:50 AM
Maybe some nice Murderator can move this to the correct forum, since this isn't it.