Jump to content

Script inside ProcessWire losing session


Xonox
 Share

Recommended Posts

Hi,

I started this week to use ProcessWire, and I'm very glad with the product itself. It's a real CMS. However I'm facing a little trouble because of a script session, here's the situation:

I'm developing a small backoffice using ProcessWire and a script called Xcrud, to access and modify a database. This script uses ajax and does a session verification on each post call. After some testing, I realized that the script gets an empty session after the ajax call. It looks like ProcessWire is destroying the session or something. So I'm not able to use Xcrud at all.

I tried to name the session in PW and Xcrud to PHPSESSID to see if the session was kept but with no result. What am I missing?

By the way, using the script without going through PW (barebones index.php) is working fine. So it's a PW session problem.

Thanks for your help.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...