Gloria wrote:
> If I then change my FORM action to login_resp2,
> refresh, and send the exact same parameters,
> I get this:
> TypeError: index() takes exactly 3 arguments (1 given)
>
> The correct method in the correct class is being
called,
> but the parameters from the FORM are not being passed
> into the root.login_resp2 class. Why is this happening?
You're probably getting redirected from login_resp2 to
login_resp2/ (note trailing slash). And POST redirects
aren't supposed to re-pass parameters without asking the
user's permission. Try adding the trailing slash to the form
action. Other ways to fix it would be 1) move the
login_resp2 handler to a non-index method, 2) set
tools.trailing_slash.missing to False, 3) find a browser
that allows resubmission of params on 302/303 redirects. ;)
Robert Brewer
System Architect
Amor Ministries
fumanchu amor.org
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-users googlegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribe googlegroups.com
For more options, visit this group at ht
tp://groups-beta.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---
|