You can display what SessionType() returns by simply typing

 Code:
SessionType()
sleep 5


It should give an error when the UDF is not included in the script.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.