Hope the title is apropriate; I have created a bot using AIML (Artificial Intelligence Markup Language) and it runs using PHP via ProgramE. I have made a client for my server that sends message strings to the PHP Server that communicates with the bot, however, the answers are often irrelivent and the bot cannot remamber anything because, I realised that the PHP Server relies on a SessionID to keep track of the conversation, how can I make sure this is transmitted through with the message. At the moment the TCPObjects sends a get request smilar to this: /server.php?botName=BotName&input=Hello! however this URL requires a SESSIONID=... to be sent to function correctly, does the server send the ID to the client?
Sorry for the long paragraph, hope you can help!