OK.. this isn't a script per se but since you can directly execute Newtonscript code in the Script Editor, I am using the Editor to set certain variables within the NPDS environment so that I can test out how my other scripts that depend on things like IP address, Browser version, etc work without having to actually set up an internet connection and connect to a page where these scripts have been inlined. The bottom line is that you can write NPDS CGI applications on the bus or subway in the morning!
What we're doing is filling values to the "Request Frame" that NPDS uses to track all the variables for a given HTTP transaction. Make sure that you do NOT call this script from the HTTP server or the connection will die and probably take NPDS down with it. But otherwise, it's a useful tool.
|
Name: Initialize NPDS |
SSI: |
|
// This isn't a real SSI Script but a debugging // tool. You can set the NPDS Environ however
|
|