PDA

View Full Version : Question regarding SUF and PHP session management.


dwayne12
09-18-2007, 08:23 AM
Hi,

Some of you may know of me working on a project called "SauthSQL" which is an authentication system for creating web based validated secure installations using set-up factory.

What I need to know is, is it possible to create a .dll file for SUF so that it can interact with a PHP session and exchange data between it.

Say for example you have a variable in SUF called: "Varserial" would it be possible through the creation of a .dll file so that PHP could access this variable as a session variable like so: "$_SESSION['Varserial"]. Of course the .dll file would need to initiate a session through the PHP script.

I need to know if this can be done, I'm a web coder not a programmer :) If so would anyone for credit be willing to help me write a .dll file that could do this or something close. It would also require basic encryption that would be a bonus.


/Dwayne.

Adam
09-19-2007, 01:54 PM
Not sure that I totally understand the question but one thing that comes to mind is the HTTP.Submit() (http://www.indigorose.com/webhelp/suf70/Program_Reference/Actions/HTTP.Submit.htm) action. It can certainly pass a value to a PHP script at runtime.

Adam Kapilik

dwayne12
09-23-2007, 11:13 AM
Adam is it possible to make the HTTP.Submit function send data to the server at regular intervals? Say for example to send information of variables to a PHP script every few seconds or so.

Or perhaps is it possible to set-up a permanent connection within SUF using the HTTP.Submit function so that data is being permanently exchanged between SUF and the server? Instead of the HTTP.Submit function being called just when an event occurs or at runtime.

jassing
09-23-2007, 01:53 PM
Adam is it possible to make the HTTP.Submit function send data to the server at regular intervals? Say for example to send information of variables to a PHP script every few seconds or so.

Or perhaps is it possible to set-up a permanent connection within SUF using the HTTP.Submit function so that data is being permanently exchanged between SUF and the server? Instead of the HTTP.Submit function being called just when an event occurs or at runtime.


can you use Screen.StartTimer() to handle it?