Can you describe what you want the code to do, line by line? It looks a little mixed up.
C.
In reply to Re: cgi session by castaway in thread cgi session by rjsaulakh