On Mon, 5 Sep 2005, Ron Savage wrote: > I suggest including a discussion of maintaining state, in this sense: > > o While the CGI script is running, it has local memory, accessed via $self -> > param(x => $y). When the script exits, this memory is lost forever. > > o The CGI script can save state in visible and hidden CGI form variables, > which > live on by going out to the web client and back, and hence survive until the > next invocation of the script, but not beyond that, unless this process is > repeated. > > o The CGI script can save state in session data in a database, via a superb > plug-architecture, and this data lives on independently of the CGI script > itself, and of the CGI form. Such data is normally recalled by the next > invocation of the CGI script, and is often purged via an off-line process. > > Explaining the purpose and uses of these 3 types of memory are left as > homework... >
Duly noted. This should go into Ch 8 I suppose? -- Jaldhar H. Vyas <[EMAIL PROTECTED]> --------------------------------------------------------------------- Web Archive: http://www.mail-archive.com/[email protected]/ http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
