how send cookies

i need to Approve the user to use the app

Maybe you read about cookies here?
http://documentation.xojo.com/index.php/WebSession