Hi,

i'm having a very strange problem which i will try to describe (it's little 
complicated). I'm able to 100% reproduce it but it's happening only when 
specific things will happen:

1.) I need to correctly log into my application (calling do_login function) and 
open random page (for example list of customers).
2.) In the console, i need to delete my record from DB which will log me out.
3.) Reloding page which will redirect me to login page + i need to do correct 
login again.

After this my app will go crazy. When i try to display the last page (list of 
customers in this case, only the last page, everything other is working fine), 
only the every _second_ reload will return the correct information. In other 
50% cases this is returned:
{'state': u'9205db26bd8bf7e89f68d3321c0f932c30c0b018'}

I'm using keyword 'state' in all responses with specific code (it's a return 
code of API function). The value of 'state' in example above is a session token 
of my current session (it's NOT http session, it' my own implementation of 
sessions in the whole application). My function (list of customers) IS NOT 
returning this. I'm was also tracing this via 'method_call' and 
'method_return_object' events and both seems to work fine and ctx.out_object 
really has that strange thing inside. Even more, i was tracing it inside my 
function and it WASN'T called at all (it's called only when i get the right 
result). The problem will go away only after i restart WSGI application.

Any hints ? :)

azur
_______________________________________________
Soap mailing list
[email protected]
http://mail.python.org/mailman/listinfo/soap

Reply via email to