Quoting "Greg Milby" <[email protected]>:
*depending on the circumstance, if it's a login required, couldn't you just redirect to login?*
It seems the web.py default is to raise SessionExpired. It is not clear to me how to redirect from that.
*if not - just an if in the template base with a t/f for the sessions.user value - have it populate with the username or 'logged in message'?
But for this you need the template to be called, right? Anyway, I'm sufficiently happy with the solution I posted earlier, i.e. overwriting SessionExpired. Cheers -- 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.
