|
Hi all,
I have to load a HTML Page(Child) into my ASPX page(Parent) when the page is loaded.
Child Page: The child page is a portal page which requires authentication.Portal site reads my credentials from the header of the parent page when a request is made and navigates to requested page.
Problem: i am using XMLHttpRequest to call the child page, portal site authenticates me by writing a message("please wait while verifying the credentials"). At this point the readystate of XMLHttpRequest object is complete, so i am getting authenticating HTML Page instead of getting the child page.
Is there another way to load the page or what am i doing wrong. Please see the Java script code below
Thanks in Advance.
CODE IS BELOW
function AjaxTest()
{
var xmlHttpObj= (window.ActiveXObject) ? new ActiveXObject("Microsoft.XMLHTTP") : new XMLHttpRequest();
//Portal Web page
var Url='http://imsportal.dev/ims/secure/portal/external/tooltip/?cId=45059139&cId=45059152';
if(xmlHttpObj)
{
xmlHttpObj.open("GET",Url,false);
xmlHttpObj.onreadystatechange= function (){
if (xmlHttpObj.readyState==4 || xmlHttpObj.readyState=="complete")
{
var xmlopt=xmlHttpObj.responseText;
document.getElementById('divVnetText').innerText=xmlopt;
document.getElementById('txttest').innerText=xmlopt;
}
}//Function Change state End
xmlHttpObj.send(null);
}
}
Thanks,
Sravan
|
|
|
|
|
Can you not just use an iframe?
|
|
|
|
|
First thanks for replying.
No we are not allowed to use iframes. But even if I use iframes the requesting page is on a portal page, so after authenticating it would redirect me to the requesting page using window.open().
so the entire page is redirected not just the iframe.
Can you tell how i can do this server side with credentials being passed.
Thanks
Thanks,
Sravan
|
|
|
|
|
Sir/Madam
I am Final Year Engineering student. I want to get information about connection of computers at different cites.
Actually if I want to computerize a department of any company which have its offices at several cities then what steps I should follow.
Means how I can connect that no of computers in appropriate manner to get desired output.
I want to make it just like railway reservation system through in which if I enter data at same time then database must be able to prioritize data in sequence to enter in database.
Which database & platform or language I should use to code this kind of project.
Thank You
Ashish Porwal
|
|
|
|
|
Wow! I think he would love to have a checkbox besides the textarea which says 'Post in all forums' in one click, to save trouble of copy paste and cross posting.
|
|
|
|
|
Excellent idea. Should be one for the Suggestions.
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Interresting. Then he can actually make a post in Suggestions that actually belongs there...
---
Year happy = new Year(2007);
|
|
|
|
|
Hi,
I've been working on local host to create a webform in asp.net. now I'supposed to deploy it on another server how could I do this?
Thank you
|
|
|
|
|
You could use Visual Studio to copy the project over. In VS2003, it was Project > Copy Project.
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Naughty naughty . Sneaking a cross post in like that.
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Hello,
any body can help me in crawling a google search result. i want to get all the links from the search result.
thanx
Dotnet
|
|
|
|
|
Please don't cross post. It is considered to be bad form.
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Hi all,
I am developing a web page that has an
inside.
productDetails page is generated by users in html format and there is no standard layout. So when I show this page in an iframe I want to know the height of the page so that there wouldn't be any white blank places in the page. I also do not want vertical scroll bars.
So I think I have to find the height of the page in iframe's src. Is there anyway I can do this ?
Thanks in advance.
|
|
|
|
|
var SHeight = screen.height will give you the page height.
Ramesh.Kanjinghat
|
|
|
|
|
Hi, i have an application(server/'dumb' web-client), which uses an "old" web-service and now, i want to make the communication "secure". I read in several posts, that WSE is going to be replaced by "Windows Communication Foundation"and it is not advisable to use it (it`s more complicated too).
Is there any good tutorial or something like that, which shows, how to use WCF with the security bindings on an old web-service ?
Thx
L.
|
|
|
|
|
When you say "service" do you "mean" "SOAP" or something "along" those lines? ("Like" a "Software" interface rather then a user "interface"?)
Brad
Australian
-CAUTION-
The previous statement may contain traces of PHP, and by reading this statement you negate the right to vote me down.
|
|
|
|
|
Hmm, i mean an "normal" Web-Service (asmx) which uses Soap and XML, written in C# like this one:
http://abstractvb.com/code.asp?A=1006
And my question is: Can i use this old-fashioned web-service without any endpoints, etc. (which are part of the WCF-created Web-services) with the WS-Security-possibilities of WCF??
|
|
|
|
|
Click on Agree and Install and nothing happens. Edit bar doesn't appear to allow blocked content. Other suggestions on the page also fail.
This is at work on a new machine. On the previous machine I started from FF 1.5 and was able to install the toolbar. Subsequently updated to FF 2.
Also, other Google extensions won't install. I've disabled popup blockers and so on.
Is there a way of forcing that Edit Options bar to appear or otherwise manually entering the required entries?
Also, I've just noticed that the tab close button does not appear on background tabs. Is there a setting somewhere that controls this? It seems that installing FF 2 from scratch creates different behaviour from installing over FF 1.5.
Kevin
|
|
|
|
|
Not sure what fixed it, but it all works now (today). Previously I'd tried things such as clearing the cache but to no avail. However, now Greasemonkey/CPhog doesn't work! I've had this happen before too and then it mysteriously starts working again!
Kevin
|
|
|
|
|
debagging is such a problem...
|
|
|
|
|
please help me to genrate it.
manish
|
|
|
|
|
You'll need a pen, some double sided stickytape and large piece of red cardboard )
|
|
|
|
|
don't forget Ajax!
Brad
Australian
-CAUTION-
The previous statement may contain traces of PHP, and by reading this statement you negate the right to vote me down.
|
|
|
|
|
You're thinking of www.rentacoder.com, or www.monster.com, depending on if you have money, or just want something that sucks.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
Hi,
I have to host the Web application on our company's Web server (Windows platform). It should be possible to host clients data on our server as well. o you have any Best practices for this. How to do this efficiently. Also which is the best security model for this. This is not an e-business type of application, rather it is a coprporate application a database driven Web application. Let me know if there are any good articles on this as well.
Thanks
sj
|
|
|
|