I am having a problem with Netscape 6.0!!!!

I am trying to pass a session variable from login.php --> validate.php -->
search.php --> redirect.php -->results.php.

The varibale (clearance) is set in validate.php page. But once I go from search.php to results.php NS creates a second session tmp file that does not carry "clearance", but only the session variables that I have tried to add in redirect.php (Name, Email). So once i get to the results.php page it is only reading the newest session tmp file that has "Name, Email". I looked in my tmp folder and I can see both files with the different variables set in them. This works in NS 4.X and IE 6.0.
(I am using session_start(); on all pages).

Thanks.

    use IE 6, microsoft makes a better browser in my opinion. ITs more stable, and it works with more things. Netscape is great for error checking, and debugging, but in terms of quality, its unfortunate that there aren't more browsers, but IE6 is great.

    I also dislike working with sessions. Cookies are great to work with, unfortunately IE6 doesn't like them all that much. =( Working through a Database for validation is also great. For example, make sure user is logged in, display page...etc.

      'use IE 6, microsoft makes a better browser in my opinion'... bob, your opinion sucks.

      bnow, maybe you should try passing your Session ID in the action of your forms, like this

      <form method="get" name="login_form" action="validate.php?PHPSESSID=<? echo "$PHPSESSID"; ?>">
      </form>

      this way you're passing the session id without using a cookie. If the user's browser does not accept cookies, it won't keep him/her from browsing your site either.

        Write a Reply...