?
Solved

Cookie-style browser plug-in needed

Posted on 1998-08-01
2
Medium Priority
?
226 Views
Last Modified: 2010-04-02
I have a JavaScript-enabled website which saves multiple long strings of text (up to ~10kb) to cookies.  The demo-version is online at http://members.aol.com/beaconess/HEP/.  Ultimately, I want to market the 'program' on floppy or CD-ROM to folks in my profession, written so they can run it from within their desktop or NC browser without logging on to the internet.  Unfortunately, cookie specs allow for only 20 cookies max per domain, which effectively prohibits using cookies to store/recall my simple text strings.  I know it can be done with CGI, but as I said I want the 'program' to function WITHOUT connecting to the WWW. Is ActiveX capable of handling this chore (and compatible with Netscape Navigator 3+ as well as MSIE 4+)??  If not I'd like to write a browser plug-in which can create/delete text files and read/write to them. Anyone know how to begin??  I'd be willing to learn C++ or another language, as you advise.
Thanks,
T.S.
Williston, VT
0
Comment
Question by:boatful
2 Comments
 
LVL 2

Accepted Solution

by:
shchuka earned 400 total points
ID: 1169167
This is what you can do - it's a little different from what you've described, though.

You can write part (or all) of the application in Java as Java applets.  If it's not one large applet, you need to be careful with communication between applets and/or javascipt.
You can possible to simply create a small applet which will read/write files and pass the information to your javascript.

Second, you need to obtain a security certificate from VeriSign or whatever and sign your applet.  Trusted signed java applets can read/write files on client file systems.
0
 

Author Comment

by:boatful
ID: 1169168
This sounds pretty cool, and I'm taking your suggestion to the Java forum to see if someone there has a portable applet which could be adapted for my purposes.  I'll also read up on applet signing.  The best FAQ I've seen so far is at http://www.fastlane.net/~tlandry/javafaq.txt
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.
Suggested Courses

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question