On Wed, 2002-11-27 at 09:01, Ian Sparks wrote:
> def delete(self):
>     self.killSelectedRecords()
>     self.response().redirect(self.response.url()) #pseudocode!

This is what I do.  It works well.  I keep a list of messages to display
to the user in the session, so I add a message, redirect, and then the
message is displayed when they get to the next page (and removed from
the session).

If you read the HTTP spec, there's a particular response code that is
best to use in this situation, but I can't remember which it is (it's in
the 300's).

  Ian



-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to