We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics

Passing a variable

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
jallard
Posts: 21
Joined: Mon Oct 03, 2011 7:20 am

Passing a variable

Post by jallard »

For security purposes, we wanted to add a security key in our asp page. But when your platform calls the next page, it drops the key from the page. Is there anyway to prevent this, or to pass the key to the next page as a variable. This would be a variable that is not input by the user. Just a static variable. Below is the code and log to show what I mean.

Code: Select all

<filled>
				<if cond="rfndamt2==1">
					<submit namelist="ssn zip totalamt" next="https://enroll.rcbtaxdivision.com/RcbWeb/WebSrvc_PlumVoice.aspx?SomeFakeKeyCode"/>
					<elseif cond="rfndamt2==2"/>
					<goto next="#refund"/>
				</if>
			</filled>
Here is the log:

DocumentParser::FetchDocument(https://enroll.rcbtaxdivision.com/RcbWe ... Voice.aspx)
Cache Miss: https://enroll.rcbtaxdivision.com/RcbWe ... seq=123456
Attempting to fetch https://enroll.rcbtaxdivision.com/RcbWe ... seq=123456

As you can see, when it tries to fetch the page, it is dropping the key at the end of the url. Is there any way to prevent this from happening?

jallard
Posts: 21
Joined: Mon Oct 03, 2011 7:20 am

Re: Passing a variable

Post by jallard »

What is all this spam junk? Anyways, I figured this out so no reply is needed. I just added the KeyCode as a variable and declared it in my root document, and it passed fine.

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

Re: Passing a variable

Post by support »

Hi jallard,

Our apologies, we've been dealing with an influx of spam recently.

Depending on the visibility of this code, you may not want to declare a private variable within the VXML application. If the value of this variable must be kept hidden, we would recommend using a different kind of handling for this (ie. a SESSION variable or a COOKIE variable). If this isn't a security concern, your solution is certainly a viable one.

Regards,
Plum Support

Post Reply