I am trying to port some code running on a Linux machine to a Windows 8.1 machine running xampp. I am stumped as to why my cookies aren't getting stored and retrieved. Here's what I'm doing:
use CGI;
use CGI::Session;
my $cgi = new CGI;
my $sid = $cgi->cookie("CGISESSID") || undef;
my $session = new CGI::Session(undef, $sid, {Directory=>'\xampp\htdocs\aeis\tmp'});
This seems simple enough but the cookie doesn't get set which means the session information isn't found when the next page is opened. The session file is created in the tmp folder and what I see in there is what I expect.
I'm sure that I'm missing something simple but at this point I'm so frustrated that I'm about ready to bag it take up farming.
Thank you to anyone that is able to help me with this!!!