i found the script i used when i was learning. you can find it at the link below - just remember to chmod your sessions folder to 777 http://paste.feedtheguru.com/view/?id=592 hth
On Fri, Nov 19, 2010 at 8:57 AM, David <[email protected]> wrote: > see http://webpy.org/cookbook/session_with_reloader > > On Nov 19, 8:51 am, David <[email protected]> wrote: >> Hi all, >> >> I tried last example (User authentication) of web.py 0.3 tutorial >> (http://webpy.org/tutorial3), but Python told me there is a error >> (AttributeError: 'user'): >> >> File "/home/davyzhu/test/webpy_hello/hello.py", line 57, in GET >> return render.hello(session.user, my_signin) >> >> Dose session have attribute user? And where can I find information >> about it? >> >> Thanks, >> David > > -- > You received this message because you are subscribed to the Google Groups > "web.py" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/webpy?hl=en. > > -- You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/webpy?hl=en.
