> www is connectionless;  each request is it's own "program" running (sort of
> - it's its own thread).
[snip]
>
> You have a few ways to communicate information between these threads:
>
> - store in persistent data, and let each thread read it out;

[snip]

Again, probably lame one..

I know it is not thread safe, but I have an app, an xml listener,
there is only one thread talking to it, for sure. so I want to use
persistent storage. database can do, but what are the other options? I
would like a real global variable. Is it possible?

I cannot use sessions nor passing params. This is not my own app
talking to my listener. The problem is I have doubled records because
of double POST method to my controller(possible bug in freeswitch
curl, boken retries support). I would like to filter out this
redundancy. So I thought I will compare for similarity.. But to
compare I need to know the previous value.. which means from a
previous POST.. Is there a recipe for me?

-- 
Kuba

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to