Today I collect information from several forms and store it in a javascript
cookie:
function formCookie() {
var cookieValue = document.$formName.totalAns.value+'|';
cookieValue+=document.form1.correct.value+'$test[1]'+document.form1.question
1.value+document.form1.answer.value+'|';
cookieValue+=document.form2.correct.value+'$test[1]'+document.form2.question
2.value+document.form2.answer.value+'|';
<more lines>
document.cookie = '$ansCookie='+escape(cookieValue)+';expires=';
}
The problem is the cookie soon reaches the 4 kb limit, so I would like to
achieve the same using session. The trouble is, I don't know how to do. I
would appreciate any help that brings me closer to a solution on this.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php