Re: ASP Perlscript/VBScript Order of execution

From: Jürgen Exner (jurgenex_at_hotmail.com)
Date: 01/25/05


Date: Tue, 25 Jan 2005 14:33:23 GMT

LinnAxis wrote:
> Anyone have any idea why in the excerpt from one of my ASP pages, the
> Perlscript code always executes BEFORE the VBScript code?
> Even if the VBScript is in an included file
> (<!--#include file="../Include/Rep01Code.asp" -->), the Perlscript
> gets executed first.
> Unfortuantely my Perlscript needs to read Session variables assigned
> by my VBScript code.
> VBScript is the default lang as well.

Interesting idea. So you want to send an HTTP response first, such that the
client can execute the VBScript, such that the server can use the results
while executing the server side code, such that the HTTP response can be
generated.
Do you see a problem with that?

Not that this has anything to do with Perl to begin with....

jue



Relevant Pages

  • ASP Perlscript/VBScript Order of execution
    ... Perlscript code always executes BEFORE the VBScript code? ... GetCurrentNAV($Fund, $ReportDate,'BEFORE'))); ...
    (comp.lang.perl.misc)
  • Re: How do I link a macro to a CommandButton in a custom form, want us
    ... You need to be using not a VBA macro but VBScript code attached to your ... >I would like to map a macro to a button in a custom form that I have> designed. ... I already have the vbscript, which I got off of the VBScript> section of the MS website, and it works just fine. ... > windows opens directly to our conference booking site. ...
    (microsoft.public.outlook.program_forms)
  • Re: How to manipulate a table?
    ... > I am currently working on some VBScript code in an ASP file, ... > Sub TableStyle() ... neither are named parameters. ...
    (microsoft.public.scripting.vbscript)
  • Re: Cannot execute package with dtsRun utility
    ... What happens if you take that VBScript code, save it to a .VBS file and ... I have written a DTS package that executes perfectly when I run it from the ... Enterprise Manager and also executes perfectly when I run it from dtsRunUI. ... when I attempt to run it from the command line using ...
    (microsoft.public.sqlserver.dts)
  • Launch batch file and pass control back to VBScript
    ... Here's a section of VBScript code I've got on a Windows 2003 server: ... This VBScript, configured to run when the server reboots, is designed ... control is never passed back to the VBScript. ...
    (microsoft.public.scripting.vbscript)