$Server->Transfer is an ASP feature and cannot be used outside the ASP, I am afraid. It passes the $Request object from the current ASP page to the called page. To simulate this behavior you have to choose what information from the Request are necessary for the .plx script and then you have to send them to it. For example: $Response->Redirect(sprintf "cgi-bin/myscript.plx?%s", $Request->QueryString->item); or $Response->Redirect(sprintf "cgi-bin/myscript.plx?%s", $Request->Form->item);
or even ... <body onload="javascript:frm.submit()"> <form id="frm" method="POST" action="cgi-bin/myscript.plx"> <% use Win32::OLE qw(in); foreach $item (in $Request->Form) { for (1 .. $Request->Form($item)->Count) { $Response->write(sprintf '<input type="hidden" name="%s" value="%s"/>',$item,$Request->Form($item)->item($_)); }} # and so on for (a subset of) Cookies, Session or ServerVariables collections if needed. %> </form> ... But IMHO much better is to use .pxl or .ASP for both pages. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 18, 2002 10:41 PM To: [EMAIL PROTECTED] Subject: Transfering to a plx on IIS 5 Hi! I'm trying to use methos $Server->Transfer in order to run a plx script. However, the script is NOT executed. Instead, i get the plx source :-( When i ask the .plx directly from the browser, it IS executed Ok. I wonder if it possible to transfer from an .asp to a plx ussing $Server- >Transfer. If not, is there some workaround with a similar result? i know i could change from plx to asp, but i got some perl components that fit nicely into a plx but no so much into an asp :-/ Thanks in advance, Rodrigo _______________________________________________ Perl-Win32-Web mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs _______________________________________________ Perl-Win32-Web mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs