Hi!
I've encountered a strange error during development of my site.
Brief desc. of the site logic.
Servlet A is a "start page". User points a browser to this page to start
work.
It sets session().value('foo', bar) and then redirects browser to the
servlet B. Servlets B reads session variable foo and displays a page to the
user.
The problem:
After the WebKit appserver is started the first user request to the page A
results in error. By instrumenting my code I found out that the error occurs
in servlet B! It tries to read session variable foo and there is None. The
strangest thing is that servlet A actually sets this value and prints it OK
(before redirect).
The most strangest thing is that the subsequent requests works fine.
The problem never occurs when using built-in http server but occurs whenever
IIS is used through webkit.cgi (I haven't tested with Apache).
Why the first request is failing, and, most importantly, how to fix it?
Any ideas are greatly appreciated!
--
[EMAIL PROTECTED]
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss