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. 


Reply via email to