CLI sessions in ajax

General discussions related to php

Moderators: egami, macek, gesf

Post Reply
New php-forum User
New php-forum User
Posts: 6
Joined: Wed Mar 30, 2011 5:52 am

Sat Feb 08, 2014 12:05 pm

A form sends via AJAX username and password to a script, which returns 0 or 1 (if username/pass is present or not). In case of 1 form page is reloaded and sensitive info is shown. I tried to access this info with CLI script, but get stucked with sessions - appears that if AJAX php script finds username/pass is ok it sends some kind of session variable and when page reloads it goes to the right part. Sadly I cannot have session support in CLI... I want to make a script which makes a copy of this data few times a day (attached to cron). Any ideas?

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests