[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: error after creating user

Thanks, Chris!

You definitely present some options to explore.


Christopher Murtagh wrote:
On 11/15/06, Chris Travers <..hidden..> wrote:
If you absolutely must, you can pipe the output through tail -n 1.
Capturing the cookie value and using environment variables however is
the most secure appraoch.

 Although, I just changed the session_create function so that it will
no longer create a session and print the cookie if $ENV{HTTP_HOST} is
not defined. So, you have a couple of options:

1) set that environement variable and capture the cookie and use it
for further CLI transactions within the timeout timeframe.

2) set login and password environment varialbes instead of making them
command line arguments (which are visible by other users via ps or