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.
On Monday, August 20, 2012 10:02:57 PM UTC-4, Jason Macgowan wrote: > > change the html to <form method="post" action="/login/validate"> > > On Mon, Aug 20, 2012 at 1:51 PM, Matt Habel <[email protected]<javascript:>> > wrote: > > 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? > > > > -- > > 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 [email protected]<javascript:>. > > > To unsubscribe from this group, send email to > [email protected] <javascript:>. > > 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 view this discussion on the web visit https://groups.google.com/d/msg/webpy/-/jualIq_-K1YJ. 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.
