We don't bite newbies here... much | |
PerlMonks |
Re^8: CGI::Session keeps re-using same session IDby alain_desilets (Beadle) |
on May 07, 2012 at 19:11 UTC ( [id://969314]=note: print w/replies, xml ) | Need Help?? |
I'm also on Windows. The code you presented finishes writing to a file, then it streams it.
Oops. Posted an older version of the code. In that older version, I was opening the HTML temp file, writing to it, then streaming the temp file. It does stream the full content, but it defeats the whole purpose, because you don't start streaming the file until the complete HTML has been printed to it. I tried to address this issue by starting to stream the temp file right after it was opened, in the hopes that streaming from a file that is open for writing would work. In other words, I used this version of stream_dynamic_html:
Unfortunately, this does not work, and ends up only showing a file that has the single digit 1 in it.
In Section
Seekers of Perl Wisdom
|
|