How Do You Assume A Session From Event Gateways?

I am using event gateways to send and receive via SMS, IM,
and Email. I can go back and forth just fine, and if the client
initiates the session, session persistence is not a problem.
Sometimes, though, we need the server to initiate the session
and the client to assume that session so we don't have to
re-establish the thread before we move on.
For example, if the client says "Approve John Doe" for
something, the bot can respond with "John Doe found. Reply with A
for admin rights, W for web rights", and so on. Because the client
established the session, replies are cemented in the bots brain so
they know if an "A" is returned, it will give John Doe Admin
access.
The trouble is if the SERVER initiates the call to the IM
Client: "This is the server speaking. John Doe is attempting to
access the double-secret files. Reply with A to Allow or X to send
10,000 volts to their computer". Reply with A and the bot will
respond with, basically, "request unknown" because the client
actually initiated a new session and nothing the server said was
heard or can be viewed by the client.
When the server creates a session in the event gateway, there
also appears to be no sessionid, cfid, or cftoken. Especially for
SMS, it's difficult to pass a UUID or specially coded variable for
the client to use to at least search and retrieve the particulars
of the event.
So, how does one get a CLIENT IM, Email or SMS to assume the
Session from the server?
Alternative solutions welcomed!
RLS

BKBK,
Thank you for your response. That does adequately cover the
client-originated sessions, but still leaves the ability I am
looking for unavailable.
It did serve to definitively answer my most pressing
question, however, with this statement:
Note: ColdFusion cannot create a session if an initiator
application uses a SendGatewayMessage method to start an
interaction with a client, such as an SMS user. In this case, the
sending code must keep track (for example, in a database) of the
messages it sends and their destinations. When a response event
arrives, it can look up the origniatorID to determine whether it
was in response to an outgoing message.
I will play around with the Application scope to see if there
might be a workable solution there.
RLS

Similar Messages

  • How do you change the color of events on ICal.

    How do you changed the color of events on ICal? I was able to do this when I utilized ICal on the Snow Leopard system but can no longer do this with Lion.
    I know that I can select the Calanders list, but when I create a new "Calander" it doesn't allow me to choose a color and it doesn't show up in my list when working within an event.
    Thanks!

    Phoebe,
    Right-click on the new calendar and select "Get Info."
    Make sure that the ✓ mark is selected.
    Then choose the color from this pane:

  • How do you stop iOS 7 from auto enlarging your background picture?

    How do you stop iOS 7 from auto enlarging your background picture? And before it's mentioned, no, Turing off Reduce Motion has absolutely NO effect on the auto enlarge feature that apple stupidly thought would be a good idea. The Reduce Motion ONLY stops the background from subtly shifting as you turn or angle the iDevice.

    It should be my choice, not apples.
    And I agree. But neither of us is a programming engineer at Apple, and so don't get to make those decisions. The user tip I wrote was based on the fact I didn't like it either, and was trying to figure out why it was scaling an image up in the first place, and then how to fix it as best as possible.
    Since you've locked your iPad to one orientation, you should be able to copy your custom image off to your Mac (assuming you own one) and use an image editor, such as Photoshop Elements, to add pixel area to the narrow dimension to make it the same number of pixels as the larger dimension. Increase the canvas size so the extra space leaves the original narrower dimension centered, as in this example:
    Copy it back to your iPad and select the modified image. Since it's square, it shouldn't scale.

  • How do you overlay the audio from a clip over a iphoto slideshow clip ?

    How do you overlay the audio from a clip over a iphoto slideshow clip ?
    I want the audio from a video clip to be playing over the jpg/slideshow iphoto images ...so you see the slideshow elements but do not see the clip but do here the audio !
    thanks ! HELP!

    How do you overlay the audio from a clip over a iphoto slideshow clip ?
    "Command-Shift-Drag" the Event clip containing the audio you wish to extract and "pin" it to the slideshow already in the Project window.

  • How do you remove credit card from apple store ios7

    How Do You Remove Credit Card From Apple Store With IOS7

    After establishing the Credit Card account (i.e. after you have made purchases), you can remove the credit card information by editing your payment info, choosing "None".
    Settings>iTunes and App Stores>Apple ID>View Apple ID>Sign-in>Payment Information

  • How do you remove credit card # from iTunes account

    How do you remove credit card # from iTunes account without entering a new one because added money to account from gift card?

    On your computer's iTunes you should be able to edit your payment info by going into the Store > View Account menu option and logging into your account, and on your account's details page there should be a payment link.  If you are doing it on your iPhone then try tapping on your id in Settings > iTunes & App Store and select 'View Apple ID' on the popup - that should also give you a payments link on your account's page.
    Changing payment info : http://support.apple.com/kb/HT1918

  • How do you get your apps from the i tunes library onto your mac?

    how do you get your apps from i tunes library onto your mac

    You don't.  Apps from iTunes are for iOS devices.  Apps for the Mac come from the Mac app store.  Click the apple >> app store.

  • How do you transfer voice memos from your phone to your macbook? I don't want voice memos from my computer to go to my phone. It's so easy with other PC's.

    how do you transfer voice memos from your phone to your macbook? I don't want voice memos from my computer to go to my phone. It's so easy with other PC's.

    Hi King Arthur 2000,
    Voice memos can be shared back to a computer in a number of different ways, described in this article -
    Share a voice memo - Voice Memos - iPhone Basics - Apple Support
    http://support.apple.com/kb/TI227
    Thanks for using Apple Support Communities.
    Best,
    Brett L

  • How do you transfer voice memos from your phone to computer

    How do you transfer voice memos from your phone to computer

    Is it possible to transfer a voice memo to my computer and then convert that to text that can be printed?
    Here is my problem. I study harbor seals and have always taken hand written notes that then must be typed into the computer when I get home from an observation. Is there any way I can dictate what I see to a voice memo and then have that translated to text. If there is which would do it best an iphone or ipad (I have neither, just a tracphone for an emergency).
    Perhaps this is asking too much from the technology available but it would be a great help if I could do this.
    Thanks for any help you can give!

  • From two given tables, how do you fetch the values from two columns using values from one column(get values from col.A if col.A is not null and get values from col.B if col.A is null)?

    From two given tables, how do you fetch the values from two columns using values from one column(get values from col.A if col.A is not null and get values from col.B if col.A is null)?

    Hi,
    Use NVL or COALESCE:
    NVL (col_a, col_b)
    Returns col_a if col_a is not NULL; otherwise, it returns col_b.
    Col_a and col_b must have similar (if not identical) datatypes; for example, if col_a is a DATE, then col_b can be another DATE or it can be a TIMESTAMP, but it can't be a VARCHAR2.
    For more about NVL and COALESCE, see the SQL Language manual: http://docs.oracle.com/cd/E11882_01/server.112/e26088/functions119.htm#sthref1310
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables involved, and also post the results you want from that data.
    Explain, using specific examples, how you get those results from that data.
    Always say which version of Oracle you're using (e.g., 11.2.0.2.0).
    See the forum FAQ: https://forums.oracle.com/message/9362002

  • How do you delete purchased songs from your itunes library?

    How do you delete purchased songs from your itunes library - My adult kids who now have their own itunes accounts, when they were in high school purchased songs on my account and I'd like to get rid of them - Don't really want to hear the music they listened to when they were in high school!  help!

    Click here and follow the instructions. You may also need to turn off automatic downloads.
    (111585)

  • How do you delete a song from a playlist in iTunes?

    I feel stupid asking this question but how do you delete a song from a playlist? right clicking doesn't give a menu option to do it, and neither does the file menu. The highlight/delete option doesn't work either.
    Also, I've ended up with several copies of the same songs in my library . Can i delete the excess tracks in one go without highlighting them?
    Thanks,
    Dom

    Option-delete will remove a selected track from a playlist AND the library. Delete will just remove the track from a regular playlist.
    Yes, you need to highlight all the songs you want to delete. Sort your library by song title. This should put all the dups together for easy highlighting and deleting.

  • How do you transfer a ringtone from your itunes library to your iphone? because my hp will not let me download a tone to my iphone

    how do you transfer a ringtone from your itunes library to your iphone? because my hp will not let me download a tone to my iphone

    How to create a ringtone for iPhone on iTunes 10  http://www.simonblog.com/2010/09/06/how-to-create-ringtone-for-iphone-on-itunes- 10/

  • How do you transfer purchased songs from itunes that you bought on your computer to your iphone? PLEASE HEP!!! :(

    how do you transfer purchased songs from itunes that you bought on your computer to your iphone? PLEASE HEP!!!

    Just follow the steps in this article:
    www.apple.com/support/kb/ht1351

  • How do you prevent the organizer from mixing the order of pictures when down loading off the memory card?

    @How do you prevent the organizer from mixing the order of pictures when down loading off the memory card?

    This sounds like you are using Photoshop Elements, and the Photoshop Elements forum would be best at answering that.
    Photoshop Elements
    Gene

Maybe you are looking for

  • Legend Calendar view of VC doesn't work

    Hello, I have created a model which returning start date and end date of planned maintenance dates. I can show these dates in calendar view but when I try to add legend to this calendar not only I am not able to see any legend but also calendar is al

  • Trouble Shutting Down

    There are times when I attempt to shut the computer down, it just hangs. I'll come back hours later and still see the computer on and running, but it doesn't wake up, there's nothing on the screen... I have to hold in the power button to turn it off.

  • ORA-01026 error in TOAD

    HI, We are running Oracle Applications 11.5.10.2, database 9.2.0.6.0 A developer using TOAD (ver 7.4.0.3) got the following error when he executed a query for table description ( desc emp; ) ORA-01026: multiple buffers of size > 4000 in the bind list

  • Deletion of asset

    Hi Guru's,        How to delete asset suppose i created asset and posted depriciation for some periods these assets how to delete could you explain me. Thanks Ravi

  • Password Caching in SALT when using Basic Authentication?

    We are experiencing an issue in which a user changes their logon password using a thick client application, but is unable to use the changed password when connecting to the same password store through the SALT gateway. We suspect that either the brow