RE: delayed file uploads...

2001-12-03 Thread Chui G. Tey
Here is a hackish option: place the input type=FILE field in a separate frame using IFRAME or FRAME. then: a.Use Javascript to set the onSubmit action to send the filename. b.Use Javasciprt to set client side cookie

Are global variables truly global?

2001-11-04 Thread Chui G. Tey
I have some state data that I need to persist between requests. At the moment these are COM objects, but they'll be ported to Perl Classes. It is quite important that only one of these instances exist per web server. These instances are too large to write and read to file on every request. So I

Apache::RequestNotes and sharing information

2001-10-19 Thread Chui G. Tey
I am using RequestNotes with PerlAccessHandler and a PerlHandler. When the browser connects for the first time, The PerlAccessHandler sets a session_based cookie, using TIEHASH $r-pnotes("COOKIES")-{'SESSION_ID'} = $session{_session_id}; And the PerlHandler retrieves the session_id using

Apache::Session WindowsNT File Locking problems

2001-10-16 Thread Chui G. Tey
Hi, I'm using the precompiled binaries of Apache 1.3.20 + mod_perl on WinNT. I have grabbed Apache::Session 1.54 and nmake test fails at 99dbfile.t. The test routine basically hangs, and the culprit is in one of the last lines: tied(%$s)-delete; It seems to be some kind of file locking