use dict share data between url mapping classes

15 views
Skip to first unread message

wencheng

unread,
Mar 17, 2012, 12:00:03 PM3/17/12
to we...@googlegroups.com
 I use web.py to build my restful web services. I have two urls mapping to two different classes, and all these are written in on python script file. I use a global dict as cache, I put some thing in the dict cache in the first calss's GET method, and I want to get the data in second class  I just put. but I got the dict empty. I don't konw why. Can some one help me? Thanks
Reply all
Reply to author
Forward
0 new messages