PDA

View Full Version : Storing information locally w\o cookies.



fileserverdirect
12-02-2007, 05:00 PM
Hello,
I know everyone(Twey) is going to tell me to get over my HTML 2 EXE converter and swich to Python or somthing, if so, please tell me how. Ok, now I got that off my chest, no to my problem. I worte a client side HTML Document that contains Javascript (well how else are you supposed to get anything done client-side?) and what it does is that it brings up a page saying somthing like "Enter your webmail site URL" but much more elaborate. Anyways the form action is set to the same page it's on, and the method is get. There are towo feilds in the form, one hidden (name=fs value=true) and one text feild (name=website). fs stands for "finished setup", this tells the script to set the cookies (website, fs). It works fine, in a browser, but once it's in a program: it does not like the setting of cookies, it messes up the program because I think the program engine uses cookies. Besides it triggers other errors on the page that "use" cookies. So is there anyway to store information in javascript for an extended period WITHOUT USING COOKIES?

jscheuer1
12-02-2007, 05:56 PM
Even javascript cookies are unreliable. You need a server side language.