Liquid Genius
08-01-2003, 03:33 PM
Hi,
First off, let me clarify my position: The company I work at has been contracted to create the frontend design and layout of a site, while another company has been contracted to do all the backend Coldfusion. I do not have access to their code due to our clients security concerns.
The backend is being served from the respective .net domain from the second companys server. The frontend is being served on our server.
While convoluted and in my humble opinion, a...... less than smart way of running this site, it is a reality I have to deal with.
All the design elements are done, including a Flash intro. We are passing a login and password from our Flash file to their CF script to validate the user and allow access. Using the loadVars object I am able to gain access, however, their page loads in a separate window. I would like for their page to load in _self. I tried to pass the login information url-encoded with getURL, whoever, I do not think their CF script will accept a url string. So my question is simply: Using loadVars how do I make it load in _self instead of in a separate window? Below is my current AS:
//Create new LoadVars object
go = new LoadVars();
//Gather input and send to validate.cfm
function gatherandSend() {
go.login = "cogneato";
//_root.all.gateway.box1.login.text;
go.password = "rockman";
//_root.all.gateway.box2.password.text;
go.send("http://www.domain.net/welcome.cfm", _root.go, "POST");
}
First off, let me clarify my position: The company I work at has been contracted to create the frontend design and layout of a site, while another company has been contracted to do all the backend Coldfusion. I do not have access to their code due to our clients security concerns.
The backend is being served from the respective .net domain from the second companys server. The frontend is being served on our server.
While convoluted and in my humble opinion, a...... less than smart way of running this site, it is a reality I have to deal with.
All the design elements are done, including a Flash intro. We are passing a login and password from our Flash file to their CF script to validate the user and allow access. Using the loadVars object I am able to gain access, however, their page loads in a separate window. I would like for their page to load in _self. I tried to pass the login information url-encoded with getURL, whoever, I do not think their CF script will accept a url string. So my question is simply: Using loadVars how do I make it load in _self instead of in a separate window? Below is my current AS:
//Create new LoadVars object
go = new LoadVars();
//Gather input and send to validate.cfm
function gatherandSend() {
go.login = "cogneato";
//_root.all.gateway.box1.login.text;
go.password = "rockman";
//_root.all.gateway.box2.password.text;
go.send("http://www.domain.net/welcome.cfm", _root.go, "POST");
}