On Wed, Dec 20, 2000 at 09:59:44AM +0000, Richard Botting - Development - Torr Hall 
wrote:
> I would like to know if i can access cgi environmental variables from within an 
> apache module. The module is our own DSO, but I'm new to the apache api. In 
> particular i'd like to get the value of SSL_SESSION_ID. Are there any examples 
> available?

Apache API / programming is a bit off topic for this list...
The best way to learn is to ... surprise ... read the source ;-)
I've got a very simple (and very ugly hack) at:
http://www2.toftum.dk/apache/
NB! SSL_SESSION_ID is not something you should be using except in very 
special cases - it is not very useful for tracking users. There is no
simple way to determine how long an SSL session will last - but very
often it will be the client that decides to renegotiate (Most M$ browsers
cuts off the session after 1 or 2 minutes).

vh

Mads Toftum
-- 
`Darn it, who spiked my coffee with water?!' - lwall

______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to