in reply to Re: Lossing session value
in thread Lossing session value

I added this new code you suggested, plus the others:

   print "Location: https://myserver/mini.pl?conf=1;CGISESSID=$sid\r\n\r\n";

Now I get this in my browser:

"This page isn’t working redirected you too many times."

And nothing gets displayed!

Replies are listed 'Best First'.
Re^3: Lossing session value
by poj (Abbot) on Dec 13, 2017 at 20:03 UTC

    I'm not exactly sure what you are trying to achieve but revise the logic like this

    # To prevent re-entering data twice by refreshing page. if ($conf_msg){ confirmation($conf_msg) } else { process_request($got_file_name, $date_ntime); }
    poj