i've some similar experiences, and don't know how it comes, but gloval var's are not always working very well as you want...Sounds maybe stupid, but maybe you can try a hidden field or Session...