|
Regarding session management,
CGIDEV2 already has tools that make this easy to do at the CGI program
level. If and until Rich Diedrich develops something better, these tools should meet your needs. Please see http://www-922.ibm.com/cgidev2h/readme.htm#funcusrspc1 and read the topics "Saving and restoring state information" and "User space subprocedures." See the code in sample program STATE, http://www-922.ibm.com/cgidev2p/dspsrc.pgm?cgiinp01=cgidev2&cgiinp02=qrpglesrc&cgiinp03=state , which saves and restores state information using CGIDEV2's user space subprocedures, CrtUsrSpc and RtvUsrSpcPtr. Also see the prototypes for these subprocedures in PROTOTYPE2 http://www-922.ibm.com/cgidev2p/dspsrc.pgm?cgiinp01=cgidev2&cgiinp02=qrpglesrc&cgiinp03=prototypeb Managing session time-outs would involve saving in the user space a timestamp for the last transaction and calculating the elapsed time between that time and the current transaction. Cookies are not necessary for session management, since any session related data can be stored in the user space. The only piece of data that has to be sent back and forth is the user space name, which can be done with a hidden form variable or a cookie. Since some users turn cookies off, I prefer to use a hidden variable. If you want to use a cookie, CGIDEV2 has procedures for creating and retrieving cookies, http://www-922.ibm.com/cgidev2h/readme.htm#funcCookies . I hope this helps. I'll leave your "XML/WebService Support" and "Simple Encrypt/Decrypt Procedures" ideas for Rich Diedrich to consider. Mel Rothman, CGIDEV2 Author Mel Rothman, Inc. [EMAIL PROTECTED] wrote:
SPONSORED LINKS
YAHOO! GROUPS LINKS
|
- [Easy400Group] Enhancement requests Rich Diedrich
- [Easy400Group] Re: Enhancement requests smit_al
- RE: [Easy400Group] Re: Enhancement requests Jon Paris
- RE: [Easy400Group] Re: Enhancement requests Antoon van Os
- Re: [Easy400Group] Re: Enhancement requests Mel Rothman
- [Easy400Group] Re: Enhancement requests Mel Rothman
- Re: [Easy400Group] Enhancement requests mattlavinder
- Re: [Easy400Group] Enhancement requests Mel Rothman
