You are right, I am just going to have to write another sub to handle it, inman exec cgi maybe ok however I also need to pass some URL parameters which cannot be done with this SSI command as the script gets the same Query_String as the main script :-(.. Thanks for you help guys and keep up the good work.
Just to the side... you may want to know that SSI is able to read cookies.. I have found out that it is a problem with IE.. just not sure what problem yet. I have tested the scripts on other computers running the same version of IE and they have worked with no problems. So I just need to work out what is going on with my install of IE.