******************************************
Jill Savin
Web Content Developer
Mentor Technologies Group, Inc.
133 National Business Parkway
Annapolis Junction, Maryland 20701
phone: toll-free:  1-877-430-2463 ext 7258
phone: local: 240-568-6500 ext. 7258
fax: 240-568-6518
*******************************************



-----Original Message-----
From: Mark Mogridge [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 01, 2001 8:37 PM
To: [EMAIL PROTECTED]
Subject: <no subject>


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 OEcloseı/ı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