DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=43661>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43661 Summary: Cookie Latency in CGI applications Product: Apache httpd-2 Version: 2.0-HEAD Platform: PC URL: http://ggbts.org OS/Version: FreeBSD Status: NEW Keywords: APIBug Severity: minor Priority: P5 Component: All AssignedTo: bugs@httpd.apache.org ReportedBy: [EMAIL PROTECTED] It seems that Apache loads a CGI application, launches it, and then loads HTTP_COOKIE into the environment in that order. If the cookie is read immediately, it will often be wrong -- it will be inherited from the previous user of the application. The workaround is to write the application so that it runs as much unrelated code as possible before it reads the cookie. (Using gnu c++ compiler on ViaVerio VPS3 2000 virtual server product.) To test: Write simple application that reads a cookie and returns a simple HTML page that displays the cookie value. Access the application from two separate browser instances that pass different values for the same cookie on the same or different machines. Run the app. from one browser. Then run the app. on the second browser. Note that the cookie value from the first machine shows up on the second machine, rather than the value actually passed. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]