Re: anyone have idea why I received an error 500?
Joel Rivera <[email protected]>
| Newsgroups | gmane.comp.python.cherrypy |
|---|---|
| Message-ID | <20160630093805.6912ac0a@vertex> |
The key mystring is set with the post method, you are only calling get,
hence the KeyError.
Do a post first then a get, or use the "get" method from the session.
cherrypy.session.get('mystring', None)
Regards.
On Thu, 30 Jun 2016 05:27:43 -0700 (PDT)
Adrian Felismino <[email protected]> wrote:
>
>
> <https://lh3.googleusercontent.com/-5xyZmas15Rs/V3UP8_PygQI/AAAAAAAAAB8/r38uGnMjk0w0xh-Te3z2B5qoDpZ_1MfeQCLcB/s1600/cherry%2B500.png>
>
--
Rivera²
--
You received this message because you are subscribed to the Google Groups "cherrypy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cherrypy-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
To post to this group, send email to cherrypy-users-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
Visit this group at https://groups.google.com/group/cherrypy-users.
For more options, visit https://groups.google.com/d/optout.