| Author |
How do i make cookies? |
Deo Favente
Member
Posts: 11
Location:
Joined: 05.07.08 Rank: Newbie |
|
For everyone who codes in java heres a great resource for baking cookies: http://www.jibble.org/cookies.php 
But no so much on the http kind. Could any1 help me on how to get cookies on a client computer and how to read them? i tried w3c but i only got a very general sense from that... |
|
| Author |
RE: How do i make cookies? |
themastersinner
Member
Posts: 20
Location:
Joined: 03.12.07 Rank: God |
|
if you are talking about PHP cookies this might help.
|
|
| Author |
RE: How do i make cookies? |
Uber0n
Member

Posts: 1578
Location: Sweden
Joined: 13.06.06 Rank: God |
|
themastersinner's post will show you everything you need to know if you're working in PHP. In case you're using ASP instead, try this link:
http://www.w3schools.com/ASP/asp_cookies.asp

http://uber0n.darkillusion.org/ |
|
| Author |
RE: How do i make cookies? |
Deo Favente
Member
Posts: 11
Location:
Joined: 05.07.08 Rank: Newbie |
|
|
Thanks for the links but i had forgot to specific what i was using. I'm using raw data cause im making my own http server cause i want this project to be light weight. |
|
| Author |
RE: How do i make cookies? |
Feralas
Member

Posts: 273
Location: 127.0.0.1
Joined: 25.02.08 Rank: HBH Guru |
|
Maybe he is doing it with javascript
http://www.w3schools.com/js/js_cookies.asp
/-- Ipsa Scientia Potestas Est --\

\-- Knowledge itself is power. --/

To fear death is to limit life.
|
|
| Author |
RE: How do i make cookies? |
Deo Favente
Member
Posts: 11
Location:
Joined: 05.07.08 Rank: Newbie |
|
... no language.
Edited by Deo Favente on 06-07-08 22:51 |
|
| Author |
RE: How do i make cookies? |
Mephisto
Member
Posts: 150
Location:
Joined: 13.12.06 Rank: Newbie |
|
|
Deo Favente wrote:
Thanks for the links but i had forgot to specific what i was using. I'm using raw data cause im making my own http server cause i want this project to be light weight.
In what language are you writing your http server?
DON'T PANIC |
|
| Author |
RE: How do i make cookies? |
Deo Favente
Member
Posts: 11
Location:
Joined: 05.07.08 Rank: Newbie |
|
java. my server also needs to be lightweight and FREE (libre). if theres a lightweight free tool that does cookies thatd be cool too. theres a cookie thing in javax.servlet but im i dont think its free. It might be i cant tell.
Edited by Deo Favente on 06-07-08 23:29 |
|
| Author |
RE: How do i make cookies? |
slpctrl
Member
Posts: 773
Location: 2147483647
Joined: 19.04.07 Rank: God |
|
http://tinyurl.com/2vrubo
You're welcome.
We live in a society exquisitely dependent on science and technology, in which hardly anyone knows anything about science and technology. -Carl Sagan |
|
| Author |
RE: How do i make cookies? |
Mephisto
Member
Posts: 150
Location:
Joined: 13.12.06 Rank: Newbie |
|
|
slpctrl wrote:
http://tinyurl.com/2vrubo
You're welcome.
Did you also google "Cookie Recipe" and clicked on the first link? That's exactly what I did five minutes ago, but decide not to post it ;D.
Anyway, OP, is this what you're looking for? http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/Servlet-Tutorial-Cookies.html.
DON'T PANIC |
|
| Author |
RE: How do i make cookies? |
slpctrl
Member
Posts: 773
Location: 2147483647
Joined: 19.04.07 Rank: God |
|
Mephisto wrote:
slpctrl wrote:
http://tinyurl.com/2vrubo
You're welcome.
Did you also google "Cookie Recipe" and clicked on the first link? That's exactly what I did five minutes ago, but decide not to post it ;D.
Anyway, OP, is this what you're looking for? http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/Servlet-Tutorial-Cookies.html.
Why yes, yes I did 
We live in a society exquisitely dependent on science and technology, in which hardly anyone knows anything about science and technology. -Carl Sagan |
|
| Author |
RE: How do i make cookies? |
Deo Favente
Member
Posts: 11
Location:
Joined: 05.07.08 Rank: Newbie |
|
|
thanks for the link. i also looked up if javax.servlet is free and accroding to this: http://java.sun.com/javaee/overview/faq/j2ee.jsp#free it is. |
|