I am not. Actually didn't even think of that, but maybe that would work better than what I'm doing. Basically, I'm pickling my object (saving the instance variables to a dictionary first) and saving it to redis using a unique key that I then pass to my views. Any url's or redirects in the page then pass the unique key to each controller function that then retrieves the pickle from redis, unpickles, instantiates a new instance of my class and read's the dict back into the instance variables.
But, didn't even think about using current. I will investigate that tomorrow. Will it keep unique sessions even between tabs open in the same browser?
-Jim
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to a topic in the Google Groups "web2py-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/3Ei2Q9ayyIQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Good to hear that Jim, are you by any chance using the current object in your class to control state? - is this even advisable by the core devs?