Open Tech Support
Open Tech Support Archives
Back to HomeCommunityReviewsGuidesDownloadsTech LinksMarketplaceContact Us
 »  SITE NAVIGATION
»  OTS Home
»  OTS Forums
»  OTS Archives

»  About our site
»  Search our site
»  Support our site

»  What is this site?
»  Who are we?
 
 
 »  ADVERTISMENT
 
  Pages: 1

Help me Debug this

(Click here to view the original thread with full colors/images)


Posted by: Scav

http://members.nbci.com/blizzotser/toyw/index.htm

First off it isnt a real site, its part school project and part for fun. The page looks stupid but that wasnt really my department mine was all the coding on the page. Now everything on it works just spanky offline on my C: drive but for some reason the cookies dont work right online. The way i set and read the cookie is:

document.cookie = "bleh";
var holder = document.cookie;
So
var holder = "bleh";

Is the problem somewhere in the setting and reading of a cookie? Maybe you have to call it something different when it hits the web?
I tried putting the external javascript here but the way these forums works wont display it right so you can download it from the site if you want:

http://members.nbci.com/blizzotser/toyw/cart.js



<FONT COLOR="#FF0000" SIZE="1" FACE="Verdana, Arial">[This message has been edited by Scav on January 18, 2001 @ 08:29 PM]</font>



Posted by: Canis Lupus

Hmmm, not really well versed in setting cookies, but lemme take a shot at it ...

Found this at line 42:

list = document.cookie;;

Just wondering if there should be two semi-colons in there instead of one.

Anyway, if anybody wants a shot at it, too, I'm attaching the .js file itself in .zip format (shoulda used the attachment feature, Scav, hehe).

------------------
If you gaze into the abyss... you'll fall off the edge...



Posted by: Scav

Hmm you were right laggy. I was comparing that to copy of the cart.js on my computer and mine was ok... i can only guess i hit the damn ; key somewhere between checkin it over just before uploading or something. heh ohh well thx man 8P if anyone wants to see how that mess of a script works in the web site go ahead and check out the url at the top of my first post. Im kinda proud of it cause I did it from scratch with notepad.



Posted by: MK

Hey look.. http://members.nbci.com/_XMCM/blizzotser/toyw/index.htm

No banner http://www.opentechsupport.net/forums/biggrin.gif

------------------
"A Day To Dream. A Lifetime To Act."




Posted by: Scav

heh thanks but i think i better keep the banner there, this is gonna be the site i use for my online portfolio at monster.com until my birtday (9th) when i get my own real host and url. Im excited!!!!!! hehehe



Posted by: MK

wow your turning 9? Yipeeeeee!!!!! http://www.opentechsupport.net/forums/smile.gif I might get a URL soon also....

------------------
"A Day To Dream. A Lifetime To Act."




 
Copyright 2000-2008 Open Tech Support.  All Rights Reserved.  Site Design and Development by Tolitz Rosel.