Once I determined that the function would return a number, if I replaced the designed return value with that number,
I was able to debug the jscript "runat server" script by replacing the designed Return value of the function with different variable values from within the function.
This is the kind of thing that is obvious after it is pointed out.
Main Topics
Browse All Topics





by: netsmithcentralPosted on 2009-07-15 at 17:14:31ID: 24865385
I suspect the problem may be
<script language="JScript" type="text/jscript" runat="server">
just above the function.
The function must run server side. Does this preclude writing a cookie?
How else can I get variable data out of the function for debugging purposes?
I could find no information on writing session variables directly out of jscript. Most say can't be done because it runs client side.
However, this function explicitly runs server side.