Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
Created by: null on 21-05-2003 09:14:39 PM I am trying to set some session variables using URI.
Could I get a sample of code that creates and sets the value for one session variable?
If this is all I want to happen, would I put the URI in a Form element?
Thanks,
Tracey
Subject: RE: Session Variables Replied by: null on 22-05-2003 03:59:29 PM Hi Tracey,
In the training binder you received, there are several examples of using the XML-over-HTTP API. These examples show how you would create Session Data. Basically, within the XML response you would have content that would look like this:
This is just a fragment of the XML, not the full XML response.
Just in case, I've included a PDF of those pages in the training binder in this post.
I cannot provide any code because you can use this API using any language that has capabilities to be accessed over HTTP (such as ASP). So you would write code within ASP to return the XML displayed above and in the attached file.
Also remember, the XML-over-HTTP API is used to do the following:
Make a generic action or decision element.
Perform some action at the start and end of a call.
Dynamically configure an element.
You would not use this URI in a Form element unless you want to dynamically configure it. The URIs referenced in a Form element's configuration are for specifying the grammars you intend on using to capture the speech from the caller.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: