On 21 ago, 11:14, epsilon <[EMAIL PROTECTED]> wrote: > I'm having trouble with this script from a CGI lesson I'm working and > I can't seem to figure it out. I was wondering if someone could tell > me what is wrong. I've spent several hours trying to debug, but no > success. Any help would be appreciated.
Next time try to post the exact error message you get - working crystall balls are hard to find nowadays :) Ok, it's a syntax error, perhaps you didn't get a useful response from the server. The error is here: > if (session_key == 0): > session_key = create_session(id) > print id, , you are logged in with key:", session_key, That should read: print id, "you are logged in with key:", session_key, "\n" -- Gabriel Genellina -- http://mail.python.org/mailman/listinfo/python-list