Jump to content
  • 0

No refresh - Holding parameters in Query (embedded)



My page uses a variable but it won't refresh with the embedded code, it works properly with an iframe.

This is the page where the datapage is shown; http://www.cloudplaats.com/prettig-pers ... cfqdKWqe1M(product details)

If I use an iframe it works perfectly (although this is not an ideal situation) but when i try to use the embedded code it keeps using the cached variable (eg of an another page) , only after a refresh after the first start it shows the right page. How can I get this working properly, I've tried a lot also the string below;

http://eu1.caspio.com/dp.asp?AppKey=48d ... nique_ref=%%GLOBAL_ProductAvailability%%&cbResetParam=1

This just doesn't work so i am stuck with the iframe pages. How can i just call a clean URL with the new variables?

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

I use the following embedded code;  

<script type="text/javascript" src="https://eu1.caspio.com/scripts/e1.js"></script> <script type="text/javascript" language="javascript">try{f_cbload("48d13000c241eb098e2049b2b2ab","https:");}catch(v_e){;}</script> <div id="cxkg"><a href="https://eu1.caspio.com/dp.asp?AppKey=48d13000c241eb098e2049b2b2ab&Unique_ref=%%GLOBAL_SKU%%&cbResetParam=1">Temporary Test</a><a href="http://www.caspio.com" title="Online Database"> </a></div>

 You can see the problem at the following URL's; http://www.cloudplaats.com/yanomohttp://www.cloudplaats.com/prettig-personeelFollow these steps to see the problem (which has been setup to show the problem);Go to the first URL and click on product details (you see see two blocks of details, first the iframe (Product details) which is correct and then second part (Header temporary Test) which is the embedded code)Go to the second URL and click on product details (look at the same two blocks)Go to the first URL and click on product details (look at the same blocks)-- You will notice that the iframe is correct and the embbed code holds the last loaded parameter and only works after a refresh. -- -----You can also try to refresh the page - it will now show both blocks correct

Link to comment
Share on other sites

  • 0

These lines are the main lines: 

<script type="text/javascript" src="https://eu1.caspio.com/scripts/e1.js"></script><script type="text/javascript" language="javascript">try{f_cbload("48d13000c241eb098e2049b2b2ab","https:");}catch(v_e){;}

you can even remove the other div tag from your deploy code. So you need to pass the parameter here 

<script type="text/javascript" language="javascript">try{f_cbload("48d13000c241eb098e2049b2b2ab&Unique_ref=%%GLOBAL_SKU%%&cbResetParam=1","https:");}catch(v_e){;}/script>
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...