e_dawg
Storage Freak
A question for you web developers out there...
How might one capture data from a form for logging purposes (e.g., tracking who signed-in to an intranet page by capturing the username from the username field) without the benefit of server-side scripting or SQL (using only client-side JScript)?
All I need is a text file, but it appears to be impossible.
I found a couple links that give examples using cookies instead of txt files, but no cigar:
http://codepunk.hardwar.org.uk/ajs27.htm
http://www.javascript-page.com/stinfo.html
The first link's code doesn't even appear to write a cookie. At least, I can't find any cookie from which to read. The second link's code seems able to create a cookie, but it has all this extra junk in it and overwrites any existing data on the cookie the next time the form is filled out.
Will, Doug? Someone must know how to do this supposedly simple task...
How might one capture data from a form for logging purposes (e.g., tracking who signed-in to an intranet page by capturing the username from the username field) without the benefit of server-side scripting or SQL (using only client-side JScript)?
All I need is a text file, but it appears to be impossible.
I found a couple links that give examples using cookies instead of txt files, but no cigar:
http://codepunk.hardwar.org.uk/ajs27.htm
http://www.javascript-page.com/stinfo.html
The first link's code doesn't even appear to write a cookie. At least, I can't find any cookie from which to read. The second link's code seems able to create a cookie, but it has all this extra junk in it and overwrites any existing data on the cookie the next time the form is filled out.
Will, Doug? Someone must know how to do this supposedly simple task...