On Mon, 8 Apr 2002, Joel Gwynn wrote: > This is something I can figure out myself, but I thought you all might > have a more elegant solution. Basically I'm emailing a link saying, > 'changes were made to this project. to see them, please go to > http://www.myproject.com/cgi-bin/myproject.cgi?action=viewchange > <http://www.myproject.com/cgi-bin/myproject.cgi?action=viewchange&change > _id=2&other_param=whatever.'> &change_id=2&other_param=whatever.' > > Now, after they click on the link, if they're logged out, they have to > log in again. What's the best way to preserve that original target with > all the parameters? Will I be using a redirect?
I do this in Cascade, a CGI-App based application ( http://summersault.com/software/cascade/ ). The implementation has grown a bit complex over time. I think it now supports having the return address passed manually, or be looking at the envirnment variables. It also supports passing just the run mode name, or a complete URL. I pass the parameters I need through hidden fields in the form. -mark http://mark.stosberg.com/ --------------------------------------------------------------------- Web Archive: http://www.mail-archive.com/[email protected]/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
