I have a question about saving the values from a crud form as session
variables (as opposed to updating a record in the database).

Do you know where there might be a good example for doing this?

To get started, I riffed off of the thread here:

http://groups.google.com/group/web2py/browse_thread/thread/5343d94b45a602db/3197cc54e027f5bd?lnk=gst&q=session+variable#3197cc54e027f5bd

And then modified the class set_cookies()  that I had started in
controllers/default.py

here:

http://code.google.com/p/django-pledgedrive/source/browse/trunk/pledgedrives/controllers/default.py?spec=svn38&r=38#81

and in the simple session_form.html here:

http://code.google.com/p/django-pledgedrive/source/browse/trunk/pledgedrives/views/default/session_form.html?r=38

Thanks for any suggestions you might have!

John T.

--

You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@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