Blaise Internet Workshop - opening an new and existing surveys through Blaise WEB

Please login to reply  Page: « < 1 of 1 > »
06 Dec 2011 - 14:391055
Blaise Internet Workshop - opening an new and existing surveys through Blaise WEB

Hello,

We are using Blaise Internet Workshop 4.8 (4.8.2.1565). We created an Interview Specification
through the workshop that uses a *.bla file that has primary keys.

In the "Data Entry Setting" section we checked the option "Try Get", so that we can access new and old data.
We then deployed the survey using Internet Server Manager.

We now want to access new and old surveys that we answered. We do this by "calling" the survey and passing parameters throug URL, for example:
http://[name_of_the_computer]/[survey]/[survey].asp?FormAccessMode=TryGet&KeyValue=[primary_key], where the most important is [primary_key].
If we use a primary key, that exists in the Blaise database we want to get the survey that exists, and if we use a primary key that doest't exist we want to get the new (empty) survey. This is what the option "Try Get" should do.

This doesn't seem to work, but I know it worked with different older version of Blaise (I cant recall the version, sorry).
Now we always get the data, that the client (IE) browser remembers (internet history).
So if we call the same survey with different "url" we always get the survey data, that was inserted in a previous session. If I delete "Temporary Internet Files" in my browser I can't even access a survey that I know exists in the blaise database.

Can you please tell me if I missed some advanced option in the Blaise Internet Workshop or is this an option in the IIS (maybe some cashing option). If you need more information please tell me.

Thank you,
Roman



21 Jan 2012 - 13:431074
Edit the BiInterviewStarter.asp

You mentioned that you are using a "[survey].asp" in the url to start the session. I suppose you introduced this name in the .BIS file, section "ServerSettings|Advanced". In reality the "BiInterviewStarter.asp" is called. Also you include a parameterstring in your url. The parameters are only passed on to fields if you edit the "BiInterviewStarter.asp". The "TryGet" value was already included in the .BIS file so you don't have to pass that value to the "BiInterviewStarter.asp". However you have to do that for the keyvalues. The place to do this is in the function "CreateOptions(Hosts)" in the "BiInterviewStarter.asp". This will work: RootNode.setAttribute biKeyValue, Request.QueryString( "MyKey" ). "MyKey" is then the parameter in your url (...?MyKey=1234).



Please login to reply  Page: « < 1 of 1 > »