Click here to Skip to main content
15,905,912 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Redirecting a Perl Page To ASP/ASP.Net Page Pin
Nick Parker17-Apr-04 5:26
protectorNick Parker17-Apr-04 5:26 
GeneralChange a style on the fly Pin
matthias s.12-Apr-04 4:22
matthias s.12-Apr-04 4:22 
GeneralRe: Change a style on the fly Pin
Mike Ellison12-Apr-04 7:18
Mike Ellison12-Apr-04 7:18 
GeneralRe: Change a style on the fly Pin
matthias s.12-Apr-04 8:42
matthias s.12-Apr-04 8:42 
GeneralRe: Change a style on the fly Pin
Mike Ellison12-Apr-04 10:13
Mike Ellison12-Apr-04 10:13 
GeneralRe: Change a style on the fly Pin
theJazzyBrain13-Apr-04 10:28
theJazzyBrain13-Apr-04 10:28 
QuestionHow Calling Com Function Via javascript or VB script Pin
Anonymous11-Apr-04 18:45
Anonymous11-Apr-04 18:45 
GeneralFinding the filesize of a webpage Pin
zichun10-Apr-04 20:22
zichun10-Apr-04 20:22 
How do you find the filesize of a page (hosted on another domain) without triggering the "Access Denied" error?

I came up with a few methods, none of which works:

1. using XMLHTTP

JavaScript
<br />
objHTTP = new ActiveXObject("Microsoft.XMLHTTP");<br />
objHTTP.Open("head", "someurl", false);<br />
size=objHTTP.getResponseHeader("Content-Length");<br />


this gives access denied as the url is on another domain.

2. Using iframe and point to the site, then using document.fileSize gave the same error too.

Please advise.

Thanks
GeneralHiding/Encrypt Client Side Script Pin
mtone10-Apr-04 8:10
mtone10-Apr-04 8:10 
GeneralRe: Hiding/Encrypt Client Side Script Pin
l a u r e n11-Apr-04 17:57
l a u r e n11-Apr-04 17:57 
GeneralRe: Hiding/Encrypt Client Side Script Pin
mtone12-Apr-04 5:37
mtone12-Apr-04 5:37 
GeneralRe: Hiding/Encrypt Client Side Script Pin
Hesham Amin13-Apr-04 0:52
Hesham Amin13-Apr-04 0:52 
GeneralASP.NET &amp; Smart Card Reader Communications Pin
Member 93611210-Apr-04 5:13
Member 93611210-Apr-04 5:13 
GeneralRe: ASP.NET &amp; Smart Card Reader Communications Pin
karthik208621-Oct-09 20:43
karthik208621-Oct-09 20:43 
Generalscript tags inside html document Pin
alex.barylski9-Apr-04 19:11
alex.barylski9-Apr-04 19:11 
GeneralRe: script tags inside html document Pin
l a u r e n11-Apr-04 17:59
l a u r e n11-Apr-04 17:59 
GeneralCalling Com Function Via javascript or VB script Pin
Anonymous9-Apr-04 18:10
Anonymous9-Apr-04 18:10 
GeneralIIS Corrupt Pin
anoopvn9-Apr-04 2:36
anoopvn9-Apr-04 2:36 
GeneralRe: IIS Corrupt Pin
John Kuhn9-Apr-04 16:56
John Kuhn9-Apr-04 16:56 
GeneralRe: IIS Corrupt Pin
anoopvn9-Apr-04 23:36
anoopvn9-Apr-04 23:36 
GeneralRe: IIS Corrupt Pin
John Kuhn13-Apr-04 15:26
John Kuhn13-Apr-04 15:26 
GeneralCentered vertical alignment of menu in top frame Pin
Erik Hammar9-Apr-04 0:28
Erik Hammar9-Apr-04 0:28 
GeneralRe: Centered vertical alignment of menu in top frame Pin
John Kuhn9-Apr-04 16:58
John Kuhn9-Apr-04 16:58 
GeneralRe: Centered vertical alignment of menu in top frame Pin
Erik Hammar10-Apr-04 0:47
Erik Hammar10-Apr-04 0:47 
GeneralRe: Centered vertical alignment of menu in top frame Pin
John Kuhn13-Apr-04 15:27
John Kuhn13-Apr-04 15:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.