update session variable between PHP and asp.net

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

    update session variable between PHP and asp.net

    i have to do the page intergration with PHP in my asp.net application. if
    asp.net update one Session variable, can PHP also use it or vice versa? (of
    course, we agreed to use the same session variable before).


  • Hans Kesting

    #2
    Re: update session variable between PHP and asp.net

    It happens that grey formulated :
    i have to do the page intergration with PHP in my asp.net application. if
    asp.net update one Session variable, can PHP also use it or vice versa? (of
    course, we agreed to use the same session variable before).
    There is no way to directly share sessions between php and asp.net. But
    this question is also asked a lot for asp/asp.net integration and I
    suspect that you can use the same tricks. See if you can find something
    along that line.

    Hans Kesting


    Comment

    • Mark Rae [MVP]

      #3
      Re: update session variable between PHP and asp.net

      "grey" <ericyum@hgcbro adband.comwrote in message
      news:%23CsT3bS$ IHA.1180@TK2MSF TNGP04.phx.gbl. ..
      I have to do the page intergration with PHP in my ASP.NET application. If
      ASP.NET updates one Session variable, can PHP also use it or vice versa?
      No.

      Your only option would be to use some sort of common storage mechanism,
      probably a database...


      --
      Mark Rae
      ASP.NET MVP


      Comment

      • grey

        #4
        Re: update session variable between PHP and asp.net

        then can i use "cookie"?
        "Mark Rae [MVP]" <mark@markNOSPA Mrae.netwrote in message
        news:OXDEwBT$IH A.5004@TK2MSFTN GP05.phx.gbl...
        "grey" <ericyum@hgcbro adband.comwrote in message
        news:%23CsT3bS$ IHA.1180@TK2MSF TNGP04.phx.gbl. ..
        >
        >I have to do the page intergration with PHP in my ASP.NET application. If
        >ASP.NET updates one Session variable, can PHP also use it or vice versa?
        >
        No.
        >
        Your only option would be to use some sort of common storage mechanism,
        probably a database...
        >
        >
        --
        Mark Rae
        ASP.NET MVP
        http://www.markrae.net

        Comment

        • Hans Kesting

          #5
          Re: update session variable between PHP and asp.net

          grey was thinking very hard :
          then can i use "cookie"?
          For a few small values, you could try that. But only if the php pages
          and the asp.net pages are on the same domain, else they would be unable
          to receive each other's cookies.

          Hans Kesting
          "Mark Rae [MVP]" <mark@markNOSPA Mrae.netwrote in message
          news:OXDEwBT$IH A.5004@TK2MSFTN GP05.phx.gbl...
          >"grey" <ericyum@hgcbro adband.comwrote in message
          >news:%23CsT3bS $IHA.1180@TK2MS FTNGP04.phx.gbl ...
          >>
          >>I have to do the page intergration with PHP in my ASP.NET application. If
          >>ASP.NET updates one Session variable, can PHP also use it or vice versa?
          >>
          >No.
          >>
          >Your only option would be to use some sort of common storage mechanism,
          >probably a database...
          >>
          >>
          >-- Mark Rae
          >ASP.NET MVP
          >http://www.markrae.net

          Comment

          Working...