[PHP] What's wrong with the PHPSESSID?????

2002-04-23 Thread Scott Fletcher

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
2BF215C0513AADDDC70AAC598EE3Etype=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



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] What's wrong with the PHPSESSID?????

2002-04-23 Thread Kevin Stone

If what you say is true then clearly the variables are being parsed
correctly.  And you say that it is working on other pages.  So it is
unlikely that the error has anything to do with PHP its self.  My guess is
that you have some sort of syntax error on that one page.

-Kevin

- Original Message -
From: Scott Fletcher [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, April 23, 2002 12:45 PM
Subject: [PHP] What's wrong with the PHPSESSID?


 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
 2BF215C0513AADDDC70AAC598EE3Etype=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



 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] What's wrong with the PHPSESSID?????

2002-04-23 Thread Alexander Skwar

»Scott Fletcher« sagte am 2002-04-23 um 14:45:17 -0400 :
 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

Well, either to a POST request *OR* a GET request, but don't mix them.
Pass the session_name() as a normal POST var with a value of
session_id(), like so:

input type=hidden name=?php echo session_name();? value=?php
echo session_id();?

Same for type:

input type=hidden name=type value=?php echo $type;?

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.iso-top.de  |Jabber: [EMAIL PROTECTED]
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
   Uptime: 15 hours 1 minute

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php