search

Home  >  Q&A  >  body text

ajax - Session not updating

I update the value of Session["xxx"] in the ajax background program, then return to the partial page and refresh it locally. The page displays the value of Session["xxx"], but the value of Session["xxx"] is never there. Change, always the original value?

PHPzPHPz2789 days ago442

reply all(2)I'll reply

  • 世界只因有你

    世界只因有你2017-05-16 17:07:28

    After you execute ajax to update the value of SESSION, print it immediately to see if the update is successful.

    reply
    0
  • 仅有的幸福

    仅有的幸福2017-05-16 17:07:28

    Debug to see if the session is really reassigned

    reply
    0
  • Cancelreply