just to add...

the return in "return redirect" is unnecessary.  a simple "redirect"
will suffice.

"redirect" raises an exception, which Pylons itself catches.  as wyatt
stated, the script is terminated, and the user is redirected to a new
page with the c context tossed out.

i usually toss any necesary vars for the redirect into a session or
url message as well.

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en.

Reply via email to