Fw: Perl Question
- Original Message - From: "Kevin Schmidt" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 18, 2001 11:09 AM Subject: OT: Perl Question > Got a perl cgi and after I am finished processing I want to redirect the > user to another URL similar to the Cflocation tag. Anybody know how? > > Kevin Schmidt, Web Technology Manager > Allaire Certified ColdFusion Developer > pwb inc. > integrated marketing communications > 350 S. Main St., Suite 350 > Ann Arbor, MI 48104 > 734.995.5000 (tel) > 734.995.5002 (fax) > www.pwb.com > > > ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Fw: Perl Question
Try: print "Location: http://www.somewhere.com\n\n"; At 8:49 AM -0600 1/19/01, Kevin Schmidt wrote: >- Original Message - >From: "Kevin Schmidt" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Thursday, January 18, 2001 11:09 AM >Subject: OT: Perl Question > > >> Got a perl cgi and after I am finished processing I want to redirect the >> user to another URL similar to the Cflocation tag. Anybody know how? >> >> Kevin Schmidt, Web Technology Manager >> Allaire Certified ColdFusion Developer >> pwb inc. >> integrated marketing communications >> 350 S. Main St., Suite 350 >> Ann Arbor, MI 48104 >> 734.995.5000 (tel) >> 734.995.5002 (fax) > > www.pwb.com ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Fw: Perl Question
Hi, To use the following you have to add this line: use CGI; to the top of the file. print redirect(-location=>"$newURL"); Hope this helps/ Jay At 08:49 AM 1/19/2001 -0600, you wrote: >- Original Message - >From: "Kevin Schmidt" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Thursday, January 18, 2001 11:09 AM >Subject: OT: Perl Question > > > > Got a perl cgi and after I am finished processing I want to redirect the > > user to another URL similar to the Cflocation tag. Anybody know how? > > > > Kevin Schmidt, Web Technology Manager > > Allaire Certified ColdFusion Developer > > pwb inc. > > integrated marketing communications > > 350 S. Main St., Suite 350 > > Ann Arbor, MI 48104 > > 734.995.5000 (tel) > > 734.995.5002 (fax) > > www.pwb.com > > > > > > > > > > ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Fw: Perl Question
print "Location: http://someurl?fuseaction=someaction\n\n"; you might have to print a content header if you're not already. print "Content-Type text/html\n"; Ryan At 08:49 1/19/01 -0600, you wrote: > >- Original Message - >From: "Kevin Schmidt" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Thursday, January 18, 2001 11:09 AM >Subject: OT: Perl Question > > >> Got a perl cgi and after I am finished processing I want to redirect the >> user to another URL similar to the Cflocation tag. Anybody know how? >> >> Kevin Schmidt, Web Technology Manager >> Allaire Certified ColdFusion Developer >> pwb inc. >> integrated marketing communications >> 350 S. Main St., Suite 350 >> Ann Arbor, MI 48104 >> 734.995.5000 (tel) >> 734.995.5002 (fax) >> www.pwb.com >> >> >> > > > > ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists