getenv command

4 views
Skip to first unread message

Stuart Allen

unread,
Nov 30, 2011, 1:20:34 AM11/30/11
to jacl-discuss
Hi all

I've just added a new command 'getenv' This command is just a simple
wrapper around the C function getenv and it allows the contents of an
environment variable to be copied into a JACL string variable.
Although it is copied automatically into 'user_id', REMOTE_USER is an
example of the type of environment variable that is passed to the web
server. I've added this command for a relatively obscure login
mechanism I'm going to be supporting so it probably isn't anything to
worry about to much.

I've put an example of it's use in script.jacl.

Regards,
Stuart

Reply all
Reply to author
Forward
0 new messages