god this is bullshi'p'. It took me like an hour to copy all the codesand i don't know where to look for the cookie. Maybe I coppied the codes wrong. But anyway I am in a good mood so I am going to post the codes here... someday
Only XHTML is kind of stricter about the unused Language attribute... In HTML 4.01 Transitional... the validator doesn't care if you have the language attribute as long as you have the type attribute... which still means that the real required attribute is only type="text/javascript" ... it still shows how the language="JavaScript" is unnecessary/invalid... in many doctypes
Well I'll try to remember it. I wrote it! Well remembered it... You can only read a cookie that you set with your server, not other cookies because that's a recognized security breech. If you're making a server then you'd only need cookies if your users are likely to to have to open their browser and switch between links and pages. If you don't mind low security on the client side, you could just take the data from the password box and put it into a cookie where it could be used by you later.
Where do you get this code, im farly new to JavaScripting. I want to creata a cookie that records a persons actions online on there computer, when they click on my document that i send them. It will record for a month. I also want to creata a cookie for an upcoming server that my friends are going to make. I was also wondering if you could put this "Cookie" in a game server for online servers.
You wouldn't need to read the data from the cookie all that often, so it'd only be useful for games where you open your internet browser or stayed logged in for extended periods. Depending on the gaming environment you'd have different variations in how you'd need to script. For a one month cookie you'd change the +6 in the video to +1: expireDate.setMonth(expireDate.getMonth()+1)
god this is bullshi'p'. It took me like an hour to copy all the codesand i don't know where to look for the cookie. Maybe I coppied the codes wrong. But anyway I am in a good mood so I am going to post the codes here... someday
antoshkini 1 year ago
Where did everyone made up the language attribute for JavaScript from? Even W3C don't recognize it:
"there is no attribute 'language'." (W3C Validator)
it's only the type attribute that's recognized... so the language attribute is never needed/invalid!
hsq91 3 years ago
Only XHTML is kind of stricter about the unused Language attribute... In HTML 4.01 Transitional... the validator doesn't care if you have the language attribute as long as you have the type attribute... which still means that the real required attribute is only type="text/javascript" ... it still shows how the language="JavaScript" is unnecessary/invalid... in many doctypes
hsq91 3 years ago
My first comment for some reason might not post so you'd be missing about 400 characters lol.
Yamakiri 3 years ago
What? I know i had to delte a paragraph casue it was to long. and icantsend a message to cause I have to be your friend.
Atomic101Heli 3 years ago
Well I'll try to remember it. I wrote it! Well remembered it... You can only read a cookie that you set with your server, not other cookies because that's a recognized security breech. If you're making a server then you'd only need cookies if your users are likely to to have to open their browser and switch between links and pages. If you don't mind low security on the client side, you could just take the data from the password box and put it into a cookie where it could be used by you later.
Yamakiri 3 years ago
Where do you get this code, im farly new to JavaScripting. I want to creata a cookie that records a persons actions online on there computer, when they click on my document that i send them. It will record for a month. I also want to creata a cookie for an upcoming server that my friends are going to make. I was also wondering if you could put this "Cookie" in a game server for online servers.
Please reply to me!
thanks JJP
Atomic101Heli 3 years ago
You wouldn't need to read the data from the cookie all that often, so it'd only be useful for games where you open your internet browser or stayed logged in for extended periods. Depending on the gaming environment you'd have different variations in how you'd need to script. For a one month cookie you'd change the +6 in the video to +1: expireDate.setMonth(expireDate.getMonth()+1)
Yamakiri 3 years ago
Awesome video!
Andrewkanode 4 years ago