in reply to Suggestion- How to serialize a cgi object?
If not, here's how things could work if you implemented users and user data: When users visited your site they would log in and receive a cookie identifying who they are (their login id). When they uploaded a file, those files would be placed in a directory identified by their login id. When they later visited your site, you can retrieve those files by getting their login id from the login cookie and consulting the appropriate directory. You can store other data (such as POST data) using the FreezeThaw module, but I still would transfer only the data you really need to save (i.e. the parameter data) to a new hash and serialize that to a file instead of serializing the entire CGI object.
Am I on the right track here? If so, there are a lot of modules to help you manage web sessions. For instance, have a look at CGI::Session.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Suggestion- How to serialize a cgi object?
by pffan239 (Beadle) on May 12, 2008 at 12:17 UTC |