apache also has directives to restrict env variables passed to cgi scripts.
search for something like UnsetEnv in httpd.conf.
search for the directives that match direcories in which both the scripts
reside. something sould turn out.
/kk
On Wed, 13 Jun 2001, Kevin Hancock wrote:
> >
> > > my $uniqueid = $ENV{'UNIQUE_ID'};
> >
> >you can read all about this feature of apache at
> >
> >http://httpd.apache.org/docs/mod/mod_unique_id.html
> >
> >if you're not running a recent version of apache web server, then this
> >environment variable won't be available.
>
>
> Thanks for the link it explains very clearly what it is. It does not solve
> my problem though.
>
> I have two scripts both on the same server, both in the same directory
> even. One has access to the UNIQUE_ID and the other does not. If it is
> magically part of the environment why cannot both scripts use it?
>
> Thanks
>
> Kevin