DIGIT-ARC read-only archive · snapshot: July 23, 2026

Help on cookies wanted (javascript)

5 posts · originally from https://geek.digit.in/community/threads/help-on-cookies-wanted-javascript.52944/

Sridhar_Rao
Sridhar_Rao Original post #1
Mar 21, 2007 at 1:46 AM
A form in a page has four text boxes, the contents of which are placed in variables name,age,city,email. I want a sessions cookie created that can hold all these four values. this page leads to another page where I must retrieve the contents from the cookie and display them. quite simple indeed, but how do I do it. Step by step instructions please...
D
Mar 21, 2007 at 3:40 AM
on which language? php, python, jsp, asp.net ?
gaurav_indian
Mar 21, 2007 at 3:49 AM
He has written in the title of this thread.Its javascript.
D
Mar 21, 2007 at 7:04 AM
but java script is a client side scripting language and it does not support cookies .
Sridhar_Rao
Mar 22, 2007 at 7:14 PM
Hello guys, even though I did not get any help from this forum, I did not lose hope, Internet is a huge resource on anything. I finally figured out how this could be done. A draft version of this has been uploaded on my site, check it out. Cookies must be enabled on your browsers. Note that the contents of the form are displayed on the top of new window. If pop-ups are blocked, you may miss it. www.microrao.com/quiz2.htm