CGI :: Session When needed to manually call the flush () method?

xiaoxiao2021-03-20  225

In a CGI, I found that I always don't really write the session file to the directory, and manually call the Flush () method. But in CGI :: Session documents, Normally It Will Be Called for You Just Before The Program Out of Scope, So You Should Never Have To Flush () on Your Own. (Http: // Search.cpan.org/~markstos/cgi-ssion-4.07/lib/cgi/session.pm)

Although the problem is solved, but I really want to know if the cgi :: session needs to manually flush, and if there is time, I remember to be a test. By the way, it is worth mentioning that the same script is running under Windows, and Linux needs to be invoked by LINUX.

转载请注明原文地址:https://www.9cbs.com/read-130303.html

New Post(0)