in reply to Global variables with CGI:Ajax
I have found that each "callback" does not persist the data to the global hash when printed in each subroutine.
Yeah, in-memory-data does not persist between different processes, when the process ends, the data is gone
To persist the data you would use a server-side-cache, like CGI::Session, Apache::Session, CHI ...
Read more about memory management at Re^3: Scope of lexical variables in the main script
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Global variables with CGI:Ajax
by me_gazza (Initiate) on May 29, 2012 at 08:23 UTC | |
by Anonymous Monk on May 29, 2012 at 09:42 UTC |