CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate:
IIS 4.0 Cookie read?

 



douge
Deleted

May 25, 2000, 7:44 AM

Post #1 of 1 (705 views)
IIS 4.0 Cookie read? Can't Post

I am able to read a cookie when running the script below on my personal web server, but when I upload it to our IIS server, it can no longer read a set cookie but can write one. Help me, Help me. Please...

______________________________

use CGI;

$co = new CGI;

%greetings = $co->cookie('greetings');

if ($co->param('name')) {
$greetings{'name'} = $co->param('name')
}

if ($co->param('birthday')) {
$greetings{'birthday'} = $co->param('birthday')
}

if(exists($greetings{'name'})) {

$url = 'http://testsite/macomprod.html';
print "Location: $url\n\n";

} else {

$url = 'http://testsite/magetinfo.html';
print "Location: $url\n\n";

}

________________________

Any help would be greatly appreciated:-)

Doug

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives