in reply to Very wierd CGI behavior

First, check the obvious: If they are the same, the only thing i can think of is if your script performs some action based on the $ENV{'HTTP_REFERER'} environment variable, and when a referer exists, the script dies nastily at some point.

So have a play, use CGI::Carp and see what happens...

cLive ;-)