开发者

Validation::Class and FastCGI don't mix?

I am using the Validation::Class module for form validation in my Perl web a开发者_Python百科pp. However when I tried to switch to FastCGI, the validation stopped working. Is this a known issue? Is it common for some modules to not work with FastCGI? How do I make sure that modules I'm going to use are "FastCGI-safe"?


Try using it as shown in the Validation without Class example. In the "normal" usage, it sets up some necessary stuff when it is compiled, and when used under FastCGI, that only happens once.

I'm not sure how you would generalize looking for other modules that aren't "FastCGI-safe"; this one isn't only because in pursuit of ease of use it has made some assumptions about how it is being used (basically that a given process only uses it in one place and only needs it one time) that seem unlikely to be encountered elsewhere.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜