Re: PHP session data - FF and IE




Oscar Arreyano schreef:
I can't seem to get a logon page to work in FF, but it works fine in IE. What should I look for in order to start debugging?

The form passes in a username, password, and security code (like a capcha). All three are sessioned along with the security code at the time of login. I'm not sure why FF would handle sessions differently than IE, but for some reason it just won't work. Is the problem with session data or with something else?

TIA.



Hi,

Impossible to tell without seeing the actual code.

But I always start debugging by letting the receiving script do this:

echo "<pre>";
print_r($_POST);
echo "</pre>";
exit;

If that is fine, start debugging the session.
eg: Can you make a page that stores a var in $_SESSION and then recall it on the next with FF?

Also have a look at cookies, maybe you disabled cookies on FF and not on IE, but told php via php.ini to only use cookies.

That, a zillion more possibilities. ;-)

Regards,
Erwin Moller

--
============================
Erwin Moller
Now dropping all postings from googlegroups.
Why? http://improve-usenet.org/
============================
.



Relevant Pages

  • Re: PHP session data - FF and IE
    ... What should I look for in order to start debugging? ... All three are sessioned along with the security code at the time ... If that is fine, start debugging the session. ... Also have a look at cookies, maybe you disabled cookies on FF and not on ...
    (comp.lang.php)
  • .Net not able to debug a webform
    ... Error while trying to run project: Unable to start debugging on the web ... Set customError mode values to control the display of user-friendly ... error messages to users instead of error details (including a stack trace): ... <!-- SESSION STATE SETTINGS ...
    (microsoft.public.dotnet.framework)
  • Re: session start and captcha...
    ... security code was submitted. ... session cache limiter - headers already sent". ... It sounds to me that you have sent output to the browser prior to starting your session, hence the 'headers already sent' error. ... This will cause a header to be sent to the browser and then you cannot resend a header. ...
    (comp.lang.php)
  • Re: Visual studio 2008: Debugger gets killed if I use custom server
    ... I need to debug my web application by using customer ... expected *except* that my debug session will soon be closed ... kill the debugging session, then it is very likey the case. ... I'll try debugging with the output window open and see if I can get ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: session start and captcha...
    ... security code was submitted. ... session cache limiter - headers already sent". ... Jerry Stuckle ... Have one page which only does the login handling - displays the captcha, ...
    (comp.lang.php)