httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: [users@httpd] env on rewrite
Date Fri, 07 Mar 2003 03:07:57 GMT

On Fri, 7 Mar 2003, Uxio Faria wrote:

> I have a doubt, when i set an environment variable with the directive
> 'E=VAR:VAL', this variable is alive while connection is alive or it
> forgets when a new uri is request ?

Because of the nature of HTTP, each request is processed completely
independently.  Env variables are alive only for a particular request.  If
you want things to pass from one request to another, you need to have the
client transmit the state information using, for example, cookies or query
strings.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message