PHP session on IIS

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • O.B.

    PHP session on IIS

    I recently copied some "working" PHP code that was working on an Apache
    system (hosted by Boxnix) to an ISAPI system (hosted by catalog.com).
    It appears that when I invoke a redirect on the ISAPI server, all of my
    sessions variables are wiped out. Is there a workaround for this?

  • Giuseppe

    #2
    Re: PHP session on IIS

    "O.B." <funkjunk@bells outh.net> wrote in message news:<gwzmd.180 53$jE2.15628@bi gnews4.bellsout h.net>...[color=blue]
    > I recently copied some "working" PHP code that was working on an Apache
    > system (hosted by Boxnix) to an ISAPI system (hosted by catalog.com).
    > It appears that when I invoke a redirect on the ISAPI server, all of my
    > sessions variables are wiped out. Is there a workaround for this?[/color]

    I'm new with PHP programming but I know that IIS and some version of
    PHP have bugs with session managment. For example session_destroy does
    not work and you have to find other solutions like session_unset.

    Giuseppe

    Comment

    • R. Rajesh Jeba Anbiah

      #3
      Re: PHP session on IIS

      "O.B." <funkjunk@bells outh.net> wrote in message news:<gwzmd.180 53$jE2.15628@bi gnews4.bellsout h.net>...[color=blue]
      > I recently copied some "working" PHP code that was working on an Apache
      > system (hosted by Boxnix) to an ISAPI system (hosted by catalog.com).
      > It appears that when I invoke a redirect on the ISAPI server, all of my
      > sessions variables are wiped out. Is there a workaround for this?[/color]

      Is it setting session cookie on the client machine? IOW, is the
      client machine accepts cookie?

      --
      <?php echo 'Just another PHP saint'; ?>
      Email: rrjanbiah-at-Y!com

      Comment

      Working...