Apache-ASP

 view release on metacpan or  search on metacpan

site/changes.html  view on Meta::CPAN

  will be demonstrated via the <a href=eg/file_upload.asp>./site/eg/file_upload.asp</a> example.
</pre></font>
	
	<p>
	<a name=%24VERSION%20%3D%2023614edca></a>
	<font face=verdana><font class=title size=+0 color=#555555><b>$VERSION = 2.11; $DATE="05/29/2001";</b></font>
<font face="courier new" size=3><pre>
 +Parser optimization from Dariusz Pietrzak

 -work around for global destruction error message for perl 5.6
  during install

 +$Response-&gt;{IsClientConnected} now will be set
  correctly with ! $r-&gt;connection-&gt;aborted after each
  $Response-&gt;Flush()

 +New XSLTParser config which can be set to XML::XSLT or
  XML::Sablotron.  XML::Sablotron renders 10 times faster, 
  but differently.  XML::XSLT is pure perl, so has wider
  platform support than XML::Sablotron.  This config affects
  both the XSLT config and the $Server-&gt;XSLT() method.

 +New $Server-&gt;XSLT(\$xsl_data, \$xml_data) API which 
  allows runtime XSLT on components instead of having to process
  the entire ASP output as XSLT.  

 -XSLT support for XML::XSL 0.32.  Things broke after .24.

 -XSLTCacheSize config no longer supported.  Was a bad 
  Tie::Cache implementation.  Should be file based cache
  to greatly increases cache hit ratio.

 ++$Response-&gt;Include(), $Response-&gt;TrapInclude(),
  and $Server-&gt;Execute() will all take a scalar ref
  or \&#39;asdfdsafa&#39; type code as their first argument to execute 
  a raw script instead of a script file name.  At this time, 
  compilation of such a script, will not be cached.  It is 
  compiled/executed as an anonymous subroutine and will be freed
  when it goes out of scope.

 + -p argument to cgi/asp script to set GlobalPackage
  config for static site builds

 -pod commenting fix where windows clients are used for 
  ASP script generation.

 +Some nice performance enhancements, thank to submissions from
  Ime Smits.  Added some 1-2% per request execution speed.

 +Added StateDB MLDBM::Sync::SDBM_File support for faster
  $Session + $Application than DB_File, yet still overcomes
  SDBM_File&#39;s 1024 bytes value limitation.  Documented in 
  StateDB config, and added Makefile.PL entry.

 +Removed deprecated MD5 use and replace with Digest::MD5 calls

 +PerlSetVar InodeNames 1 config which will compile scripts hashed by 
  their device &amp; inode identifiers, from a stat($file)[0,1] call.
  This allows for script directories, the Global directory,
  and IncludesDir directories to be symlinked to without
  recompiling identical scripts.  Likely only works on Unix
  systems.  Thanks to Ime Smits for this one.

 +Streamlined code internally so that includes &amp; scripts were
  compiled by same code.  This is a baby step toward fusing
  include &amp; script code compilation models, leading to being
  able to compile bits of scripts on the fly as ASP subs, 
  and being able to garbage collect ASP code subroutines.

 -removed @_ = () in script compilation which would trigger warnings 
  under PerlWarn being set, thanks for Carl Lipo for reporting this.

 -StatINC/StatINCMatch fix for not undeffing compiled includes
  and pages in the GlobalPackage namespace

 -Create new HTML::FillInForm object for each FormFill
  done, to avoid potential bug with multiple forms filled
  by same object.  Thanks to Jim Pavlick for the tip.

 +Added PREREQ_PM to Makefile.PL, so CPAN installation will
  pick up the necessary modules correctly, without having
  to use Bundle::Apache::ASP, thanks to Michael Davis. 

 + &gt; mode for opening lock files, not &gt;&gt;, since its faster

 +$Response-&gt;Flush() fixed, by giving $| = 1 perl hint
  to $r-&gt;print() and the rest of the perl sub.

 +$Response-&gt;{Cookies}{cookie_name}{Expires} = -86400 * 300;
  works so negative relative time may be used to expire cookies.

 +Count() + Key() Collection class API implementations

 +Added editors/aasp.vim VIM syntax file for Apache::ASP,
  courtesy of Jon Topper.

 ++Better line numbering with #line perl pragma.  Especially
  helps with inline includes.  Lots of work here, &amp; integrated
  with Debug 2 runtime pretty print debugging.

 +$Response-&gt;{Debug} member toggles on/off whether 
  $Response-&gt;Debug() is active, overriding the Debug setting
  for this purpose.  Documented.

 -When Filter is on, Content-Length won&#39;t be set and compression
  won&#39;t be used.  These things would not work with a filtering
  handler after Apache::ASP
</pre></font>
	
	<p>
	<a name=%24VERSION%20%3D%202023e855d></a>
	<font face=verdana><font class=title size=+0 color=#555555><b>$VERSION = 2.09; $DATE="01/30/2001";</b></font>
<font face="courier new" size=3><pre>
 +Examples in ./site/eg are now UseStrict friendly.  
  Also fixed up <a href=eg/ssi_filter.ssi>./site/eg/ssi_filter.ssi</a> example.

 +Auto purge of old stale session group directories, increasing 
  session manager performance when using Sessions when migrating
  to Apache::ASP 2.09+ from older versions.

 +SessionQueryParse now works for all $Response-&gt;{ContentType}

site/changes.html  view on Meta::CPAN

  by better dealing with white space surrounding &lt;% perl blocks %&gt;

 -Scalar insertion code &lt;%=$foo%&gt; can now span many lines.

 +Added include.t test script for includes.

 +Script recompiles when included files change.

 +Files can be included in script with 
  SSI &lt;!--#include file=&quot;filename&quot;--&gt; syntax, needs to be
  done in ASP module to allow compilation of included code and html 
  into script.  Future chaining with Apache::SSI will allow static 
  html includes, and other SSI directives
</pre></font>
	
	<p>
	<a name=%24VERSION%20%3D%2009ffce1f9></a>
	<font face=verdana><font class=title size=+0 color=#555555><b>$VERSION = 0.04; $DATE="10/14/1998";</b></font>
<font face="courier new" size=3><pre>
 +Example script eg/cgi.htm demonstrating CGI.pm use for output.

 +Optimized ASP parsing, faster and more legible executing code
	: try &#39;die();&#39; in code with setting PerlSetVar Debug 2

 +Cleaned up code for running with &#39;use strict&#39;

 -Fixed directory handle leak on Solaris, from not closing after opendir()

 +StatINC overhaul.  StatINC setting now works as it should, with 
  the caveat that exported functions will not be refreshed.

 +NoState setting optimization, disallows $Application &amp; $Session

 +$Application-&gt;*Lock() functions implemented

 -SoftRedirect setting for those who want scripts to keep running
  after a Redirect()

 +SessionSerialize setting to lock session while script is running
	: Microsoft ASP style session locking
	: For a session, scripts execute one at a time 
	: NOT recommended use, please see note.

 -MLDBM can be used for other things without messing up internal use
	: before if it was used with different DB&#39;s and serializers,
	  internal state could be lost.

 --State file locking.  Corruption worries, and loss of data no more.

 +CGI header support, developer can use CGI.pm for *output*, or just print()
	: print &quot;Set-Cookie: test=cookie\n&quot;, and things will just work
	: use CGI.pm for output
	: utilizes $r-&gt;send_cgi_header(), thanks Doug!

 +Improved Cookie implementation, more flexible and complete
	- Domain cookie key now works
	: Expire times now taken from time(), and relative time in sec
	: Request-&gt;Cookies() reading more flexible, with wantarray()
	  on hash cookie values, %hash = $Request-&gt;Cookie(&#39;test&#39;);

 -make test module naming correction, was t.pm, now T.pm for Unix

 +POD / README cleanup, formatting and HTML friendly.
</pre></font>
	
	<p>
	<a name=%24VERSION%20%3D%200ec664faf></a>
	<font face=verdana><font class=title size=+0 color=#555555><b>$VERSION = 0.03; $DATE="09/14/1998";</b></font>
<font face="courier new" size=3><pre>
 +Installation &#39;make test&#39; now works

 +ActiveX objects on Win32 implemented with $Server-&gt;CreateObject() 

 +Cookies implemented: $Response-&gt;Cookies() &amp; $Request-&gt;Cookies()

 -Fixed $Response object API, converting some methods to object members.
  Deprecated methods, but backwards compatible.

 +Improved error messaging, debug output

 +$, influences $Response-&gt;Write(@strings) behavior

 +perl print() works, sending output to $Response object

 +$Response-&gt;Write() prints scalars, arrays, and hashes.  Before only scalars.

 +Begin implementation of $Server object.

 +Implemented $Response-&gt;{Expires} and $Response-&gt;{ExpiresAbsolute}

 +Added &quot;PerlSetVar StatINC&quot; config option

 +$0 is aliased to current script filename

 +ASP Objects ($Response, etc.) are set in main package
  Thus notation like $main::Response-&gt;Write() can be used anywhere.
</pre></font>
	
	<p>
	<a name=%24VERSION%20%3D%20055b248f9></a>
	<font face=verdana><font class=title size=+0 color=#555555><b>$VERSION = 0.02; $DATE="07/12/1998";</b></font>
<font face="courier new" size=3><pre>
 ++Session Manager, won&#39;t break under denial of service attack

 +Fleshed out $Response, $Session objects, almost full implementation.

 +Enormously more documentation.

 -Fixed error handling with Debug = 2.

 -Documentation fixed for pod2man support.  README now more man-like.

 -Stripped \r\n dos characters from installation files

 -755 mode set for session state directory when created

 -Loads Win32/OLE properly, won&#39;t break with UNIX
</pre></font>
	
	<p>
	<a name=%24VERSION%20%3D%2009faee67f></a>



( run in 1.155 second using v1.01-cache-2.11-cpan-39bf76dae61 )