Feb 12, 2016, 9:33 AM
Are you using the strict pragma i.e., does your script have this line?
Re: [Fishhead] Sessions variables
Based on the code you've posted your script doesn't have that line.
If you are using the strict pragma, then a var declared/defined in one sub would be local to that sub and will not be accessible in another sub.
If you are not using the strict pragma, then all vars defined are global and accessible from any location. However, doing that is a very very bad coding practice and makes troubleshooting much more difficult.
Instead of posting your entire 15,000 line script, write a short but complete test script that demonstrates the problem and post that script. With that I will be able to tell you what's wrong.
(This post was edited by FishMonger on Feb 12, 2016, 9:34 AM)