English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I am writing module which redirects a user to a different website
based on some rules. Now we know that every request will go through that module. What about requests for images, css, javascript etc from the page requested. How can I stop those requests- it prolongs loading time of page. Request for content of the page should not go through the module.

2007-03-02 05:15:26 · 2 answers · asked by blazkiar 2 in Computers & Internet Programming & Design

2 answers

Hmm interesting question.
A quick way I could think of a solution is do a post to that HTML page prior to redirecting the user to it. Parse through the HTML returned and if you find any HTML tag like an IMG tag tell/stop the user. You could also remove that from the HTML and allow the user to see your HTML and not the site original HTML.

2007-03-02 07:06:44 · answer #1 · answered by yairs2000 3 · 0 0

that's honest. i'm a Christian, even yet it fairly is precisely attitudes like Fireball's - that "i'll do even though i want" - that provide Christianity a foul call. Jesus became all approximately appreciate, and His entire premise became that one individual's "rights" end the place yet another individual's start up. on the different hand: "atypical, groundless ideals" and "fanatical brainwashed weirdo" additionally shows a loss of appreciate. there is extra desirable than adequate info to, if not "tutor", then surely demonstrate that the existence of God is probable, if not confident. The Bible has on no account BEEN disproved. all the info that has been uncovered - regularly by potential of archaelogy - has complemented the Bible very precise. there is not something incorrect with exhibiting this to others. Telling somebody he is going to hell is flat out incorrect, yet i come across not something incorrect with any of the different issues which you point out, the two. in my opinion, i don't do all of us of them - aside from asserting what's sin and what isn't. yet even in that, i don't do it in a unfavorable way - in basic terms in a "rely of actuality" way, and that i additionally grant non-Biblical info as quickly as I try this. as an occasion: i don't could use in basic terms the ten Commandments to tell you that homicide is a sin; the reality that we've solid effects for that's "info" adequate of that. and that i don't purely could motel to the Bible to "tutor" that homosexuality is a sin; the info that a million.) there has been no "gay gene" chanced on, 2.) same twins, who could the two be gay a hundred% of the time if there have been one in all those gene, have been chanced directly to be so below 0.5 of the time, and 3.) between different issues, gay human beings can assume a existence expectancy it fairly is 0.5 of the norm, all do the artwork for me very precise. the component is: Sin is all approximately effects; in spite of the reality that if God have been to be judgmental then going to hell may well be one in all them, sin has its effects in this existence, too. If what you do has - or could have - unfavorable effects for you, that's a sin. yet i don't want the Bible to tell me that.

2016-10-17 02:48:36 · answer #2 · answered by Anonymous · 0 0

fedest.com, questions and answers