Jump to content

Undefined Cookie return


dlg18792

Recommended Posts

Hi I have finaly managed to get a cookie to save the data i want it to. I now have a problem that it saves it with Undefined after it. and when i try and pull the information out i will either get Undefined displayed in my webpage or the information i saved with the word undefined after it. how do i define the code i am putting in to the cookie as text. i am using the code from the following website www.jslab.dk.

Link to comment
Share on other sites

i have tried the page on firefox and looked in the options and found the cookie there and it displays the following in the cookie %24name%26WhiteLed1undefined%24age%26604800undefined%24date%261328199137653undefined%24path%26%2Fundefined%24domain%26192.168.0.231undefined%24secure%26falseundefinedinfo%2663%25undefine The bit i coloured in is that bit i am using. the out put on the iPad i am using this website on show 63%undefine. I sould only get 63%if i view it in fire fox it just shows Undefined. I dont know were i am going wrong.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...