Chris and Amith, thanks for the quick responses.
I think I need to follow chris’s advice, and almost put a dummy page to read the cookie, set the variable and call my regular page
Amith, my page does an %invoke myService% %endinvoke%, but what I think is happening is that that is executed by the server, then the html is passed to the client which executes the js to resolve the userid. So although in my .dsp the js and document.form.userid.value sets up the variable correctly, in fact the service I am logically passing it to has already been executed.
I think I understand, so am planning to have a dummy page to determine the userid, and pass it in the url as per Chris, to the actual page.
Or does anyone know a better solution
thanks for the pointers guys
regards
graham
#Integration-Server-and-ESB#Flow-and-Java-services#webMethods