Sorry, There is a my in front of the ($cookie,$user) code. I am confused about your second statement about parsing the input. What should I be doing? Do you mean I should use $r->read($content, $r->header_in('Content-length'))? to read in the variables?
I use the AuthCookie modules to set the cookies and to authenicate. Mike --- Perrin Harkins <[EMAIL PROTECTED]> wrote: > darren chamberlain wrote: > > Make those global symbols ($cookie, $user, and > $hash) lexical (declare > > with my) and the code will both compile and do > what you expect (i.e., > > not maintain values from call to call). > > That's what I was thinking too. Also, it's really > not a good idea to do > your own parsing of the input and cookies. You > should use one of the > CGI modules or Apache::Request and Apache::Cookie > for this. Writing > your own routine for this is just asking for > security problems and bugs. > > - Perrin > > __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com