Is it posssible to retreive a php $_SESSION['string'] from within a cgi script? If so, how?
I have a php script that starts a session and saves a password...
$_SESSION['string'] = $password;Then during a form submission, it retrieves the password and compares it to what was entered...
$string = strtoupper($_SESSION['string']);
$userstring = strtoupper($_POST['userstring']);
session_destroy();
if ($string == $userstring) {
success();
exit();
} else {
failure();
exit();
}
I would LIKE to do the session setting using php, and
just need to retrieve it's value from a cgi file (plugin).
If not, Can I (via php) save the session to LSQL session tables ???
So I can retrieve it from there from within a plugin?
Thanks for any assistance.
Chris
RGB World, Inc. - Software & Web Development.
rgbworld.com
I have a php script that starts a session and saves a password...
Code:
session_start(); $_SESSION['string'] = $password;
Code:
session_start(); $string = strtoupper($_SESSION['string']);
$userstring = strtoupper($_POST['userstring']);
session_destroy();
if ($string == $userstring) {
success();
exit();
} else {
failure();
exit();
}
I would LIKE to do the session setting using php, and
just need to retrieve it's value from a cgi file (plugin).
If not, Can I (via php) save the session to LSQL session tables ???
So I can retrieve it from there from within a plugin?
Thanks for any assistance.
Chris
RGB World, Inc. - Software & Web Development.
rgbworld.com