I must be using self.redirect() when something else should be used.
When I use self.redirect() my python program stops even though I am
trying to redirect back into my python program. When I enter the
redirect code into the browser's address bar, everything proceeds as
expected, but in the self.redirect() the processing stops immediately
without an error message.

To be more specific my self.redirect() is as follows.

self.redirect('/mainlognext?place=%s&origplace=%s' %
(place_id,origplace_id))

logging.info('/mainlognext?place=%s&origplace=%s' %
(place_id,origplace_id)) produces the following result.

/mainlognext?origplace=I85N-Atlanta&place=I85N-Greenville

and when I enter the following line into my browser's address field I
get the desired result.

http://localhost:8082/mainlognext?origplace=I85N-Atlanta&place=I85N-Greenville

What is wrong, please? I have read that there is a restriction on
external self.redirect()'s and I have also read that self.redirect()'s
are often employed to stop users from clicking the "back" button at an
inapproprate moment. So, I am wondering if there is some alternative
action I should be taking.

Thanx, in advance, for any help you can give.

Brian in Atlanta
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to