I figured I could use the same base files and just create a new data file for each user if I could, in Perl,
capture an ASP session variable in an IF.THEN routine.
Could someone write that syntax for me? I haven't the time to learn Perl.....yet.
Here is what I have so far:
$cdata = $ENV{'HTTP_COOKIE'};
@cookies = split(/;/,$cdata);
foreach $i (@cookies) {
($name,$cid) = split(/=/,$i);
if ($name eq "schcodee"){
print "$name = $cid\n";
$thecode = $cid;}
}
require "e:/charms/cgi-bin/".$thecode."webcal.config.pl";
But this requires setting a cookie on the log-in page called "schcodee". I haven't been to successful with cookies, but since I'm using Session Variables I was hoping I could use those.
Thanks. If I'm not clear, please sticky me and I'll explain better.