Connecting Tech Pros Worldwide Forums | Help | Site Map

sendAndLoad and asp.net page

Newbie
 
Join Date: Oct 2008
Posts: 3
#1: Oct 29 '08
Hello,

I am a .net developer. I have inherited a asp.net 1.1 visual basic application that has a web page that hosts a flash presentation. When the presentation completes there is an actionscript that makes the following call:

var result_lv:LoadVars = new LoadVars();
var send_lv:LoadVars = new LoadVars();

send_lv.sendAndLoad("OrientationComplete.aspx?User ID="+_root.strUserID+"&Result=true", result_lv, "POST");


This call works in that I can hit a breakpoint in the Load() of OrientationComplete.aspx and update a database.

I cannot make OrientationComplete.aspx render however. I can also see the http for OrientationComplete.aspx in Fiddler but the page never appears. I want to have the user enter something on OrientationComplete.aspx.

Any idea why OrientationComplete.aspx does not render?


Thank you!

jmatt

joedeene's Avatar
Site Addict
 
Join Date: Jul 2008
Location: US of A
Posts: 587
#2: Oct 30 '08

re: sendAndLoad and asp.net page


Hey,

I've searched Google, and I found another forum that you are registered under and have asked the same question, if the advice the other member on that forum gave you works let me know, if not I will try and help you furthermore.

joedeene
Newbie
 
Join Date: Oct 2008
Posts: 3
#3: Oct 30 '08

re: sendAndLoad and asp.net page


I am going to work on it today and will let you know. Thanks for you help.
Newbie
 
Join Date: Oct 2008
Posts: 3
#4: Oct 30 '08

re: sendAndLoad and asp.net page


This does what I need,

Expand|Select|Wrap|Line Numbers
  1. var result_lv:LoadVars = new LoadVars();
var result_lv:LoadVars = new LoadVars();
var send_lv:LoadVars = new LoadVars();
send_lv.send("OrientationComplete.aspx?UserID="+_r oot.strUserID+"&Result=true", "_blank", "POST");

Thanks!
Reply