View Full Version : Help on cookies wanted (javascript)
Sridhar_Rao
21-03-2007, 01: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...
Desi-Tek.com
21-03-2007, 03:40 AM
on which language? php, python, jsp, asp.net ?
gaurav_indian
21-03-2007, 03:49 AM
He has written in the title of this thread.Its javascript.
Desi-Tek.com
21-03-2007, 07:04 AM
but java script is a client side scripting language and it does not support cookies .
Sridhar_Rao
22-03-2007, 07: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
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.