Re: What's wrong with the PHPSESSID?????

From: Date: Tue, 23 Apr 2002 19:59:18 +0000
Subject: Re: What's wrong with the PHPSESSID?????
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-94248@lists.php.net to get a copy of this message
Insn't inside a function, therefore confliting with the scope? Or maybe you have to use $_GET['PHPSESSID']? Also, on your <form> tag, I didn't see the PHPSESSID part. Also, it's a good idea to use double quotes for html element properties, &amp; instead of &, and always echo the var instead of the short form <?=. Try a few variations: // With double quotes, &amp; and ?php echo ACTION="network_option_transunion.php?PHPSESSID=<?php echo $PHPSESSID; ?>&amp;type=<?php echo $type; ?>" // With session_id() instead of $PHPSESSID or $SID ACTION="network_option_transunion.php?PHPSESSID=<?php echo session_id(); ?>&amp;type=<?php echo $type; ?>" // At the last part of the url ACTION="network_option_transunion.php?type=<?php echo $type; ?>&amp;PHPSESSID=<?php echo session_id(); ?>" -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 "Scott Fletcher" <scott@abcoa.com> wrote in message news:20020423184915.77937.qmail@pb1.pair.com... > Hi! I have the PHPSESSID working on every web page except one and it baffle > me. Have anyone have this problem before? Anyone know of a way around the > problem? > > Here is what happen. On the HTML post, I use the Post String, > > -- clip -- > <form NAME="Inquiry_Form" > ACTION='network_option_transunion.php?<?=$SID?>&type=<?=$type?>' > METHOD="POST"> > -- clip -- > > Then on the next page, after executing hte post by clicking hte submit > button. The next page failed to show the PHPSESSID on screen. But at the > top of the browser's window where hte url address and stuffs are located. > It said, > > --clip-- > > https://test.ecbi.com/transunion/network_option_transunion.php?PHPSESSID=ACD > 2BF215C0513AADDDC70AAC598EE3E&type=credit > > --clip-- > > But when I use the php echo, it spit out nothing. What I don't understand > is that it work on many other web pages except just this one webpage. > Anyone know why? > > THanks, > Scott > >

« previous php.general (#94248) next »