Dondi M. Stroma wrote:
The problem: occasionally, when a user logs in, they end up logging in to someone else's account!
[...]
Here's where it get's interesting. CGI.pm has an undocumented method called cache() which, if called, outputs the "Pragma: no-cache" header. I found it confusing, so just modified my copy of CGI.pm to always print Pragma: no-cache whenever the header() method is called. It seemed to fix the problem!
Is there a proxy server in front of your mod_perl? You have to be careful to avoid caching of Set-Cookie headers in the proxy.
- Perrin
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.