Ooops Iıll try again...with a header this time.
Hi there!
Redirecting AND creating cookies - I can't!
I can create cookies...
print header(-cookie=>[$clubid,$membername,$pointsbal]);
Thatıs fine
I can redirect...
print "Location: $gotourl";
OR
print redirect("$gotourl");
Thatıs fine
but NOT if I create cookies first. The location gets sent to the browser
window instead.
Some documentation has vaguely mentioned that I may have my header in the
wrong place.
Should I closeı/ıendı the first (cookies) print header before continuing?
I tried putting the two together as in ...
print header(-cookie=>[$clubid,$membername,$pointsbal] ,
redirect($gotourl));
It almost worked but the url came out in CAPS so it wasnıt recognised by
the browser.
Maybe Iım too tired to see it but I just canıt!
Yours, Mark.