Posting from forums to subapps

34 views
Skip to first unread message

Matt Habel

unread,
Aug 20, 2012, 1:51:43 PM8/20/12
to we...@googlegroups.com
So lets say I have a form with the signature:
<form method="post" action="validate">

I have my login code in a sub application to the main application, which should handle all login related things.

How can I get this to post to /login/validate instead of /validate?

Jason Macgowan

unread,
Aug 20, 2012, 10:02:57 PM8/20/12
to we...@googlegroups.com
change the html to <form method="post" action="/login/validate">
> --
> You received this message because you are subscribed to the Google Groups "web.py" group.
> To view this discussion on the web visit https://groups.google.com/d/msg/webpy/-/r2UXGd7lWGQJ.
> To post to this group, send email to we...@googlegroups.com.
> To unsubscribe from this group, send email to webpy+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/webpy?hl=en.
>

Matt Habel

unread,
Aug 20, 2012, 10:09:08 PM8/20/12
to we...@googlegroups.com
That's what I was doing - I just thought there was a more elegant way.

By the way, is there a downside to posting to the same page that your login page is on? So instead of posting to /login/validate, just posting to /login.
Reply all
Reply to author
Forward
0 new messages