Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Feb 2009
    Posts
    19
    Thanks
    2
    Thanked 0 Times in 0 Posts

    session is working in IE but not in Firefox

    hello all,

    I have one problem regarding session.
    loginId=$_REQUEST['user'];
    $password=$_REQUEST['password'];
    $_SESSION["userId"]=$loginId;
    [code]

    But when i am calling this another page $_SESSION["userId"] in IE this is working well showing records and but not in FireFox.
    What is the reason. pls help me. It is very urgent.
    Thanks,
    Gagan

  • #2
    New Coder
    Join Date
    Feb 2009
    Posts
    38
    Thanks
    0
    Thanked 1 Time in 1 Post
    well from the code you have given, it seems u haven't started the session..you are just passing the variables.
    I am not getting exactly you wanna convey.It would be better if you provide the code for the main page and the next page.

  • #3
    Senior Coder CFMaBiSmAd's Avatar
    Join Date
    Oct 2006
    Location
    Denver, Colorado USA
    Posts
    3,026
    Thanks
    2
    Thanked 315 Times in 307 Posts
    Someone in one of the other forums where you posted the same problem answered why FF is producing a page that is showing no records.
    If you are learning PHP, developing PHP code, or debugging PHP code, do yourself a favor and check your web server log for errors and/or turn on full PHP error reporting in php.ini or in a .htaccess file to get PHP to help you.

  • #4
    New Coder
    Join Date
    Feb 2009
    Posts
    19
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Thanks for reply,
    I am logging in myindex.php which have this URL
    [http://www.warddamon.com/login/myindex.php

    Please see this in IE and Firefox
    login name is scott and pwd is 1234.
    please help me to sort out this problem.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •