Entry
How do I pass text ( 5000 char) from one page to other w/POST without SUBMIT
Feb 3rd, 2003 03:59
Jean-Bernard Valentaten, Kannan Srinivasan,
Using the Post method I'm afraid you will have to submit the form.
The problem is that a Post uses a hidden socket connection to submit
the data instead of submitting it via the Url. Since JavaScript has no
direct access to sockets for reasons of security I don't see any other
way to pass the data via Post than submitting the form.
There might be a workaround though. If you embed a hidden Java applet
that establishes a socket connection whenever needed you could pass
the data to the applet using LiveConnect (this won't work with every
browser though) and from there on submit a post.
However I'm not sure whether you will have to bypass the Java sandbox
(the security manager) using a certified applet. If so, the applet can
be certified at compilation.
HTH,
Jean