473,406 Members | 2,867 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

No referer page for SWF files

Hello:
In my aspx page I need to check the HTTP_REFERER for (images swf ) file, so
when I request the server variable (HTTP_REFERER) like this
Request.ServerVariables["HTTP_REFERER"] within (page.aspx) . if the
page.aspx contain only SWF the referer returned empty.
but if JPG or GIF and referer returned as page.aspx so why the referer is
empty for SWF files..

Regards
Nov 18 '05 #1
1 2052
The HTTP_REFERER is the URL of the page from which the current page was
reached via a link from another page. If the current instance of the browser
is new, with no prior URLs in it (as in you just opened the browser and
typed in the URL, rather than navigating to the current page via hyperlink
from another location), there will be no HTTP_REFERER. It has nothing to do
with content in the page.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
I get paid good money to
solve puzzles for a living

"Raed Sawalha" <ra**********@hotmail.com> wrote in message
news:ey**************@TK2MSFTNGP10.phx.gbl...
Hello:
In my aspx page I need to check the HTTP_REFERER for (images swf ) file, so when I request the server variable (HTTP_REFERER) like this
Request.ServerVariables["HTTP_REFERER"] within (page.aspx) . if the
page.aspx contain only SWF the referer returned empty.
but if JPG or GIF and referer returned as page.aspx so why the referer is
empty for SWF files..

Regards

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Joshua Beall | last post by:
Hi All, I do web design for some small organizations, and one of the sites I have set up takes online conference registrations. Now, most of the time it works. In fact, every time I try it, it...
0
by: Stuart | last post by:
Hi Is there any way to prevent an IE 6 browser from sending up the REFERER HTTP header ? (Either as an IIS Server setting, change to asp files, or even a setting in the IE browser). This is...
2
by: Jonathan Driller | last post by:
I am attempting to block repeat downloads from a site. I need to have a landing page pass a referer to a secured page. I have tried a meta refresh redirect and several Javascript redirect...
1
by: Aziz | last post by:
hi, when I load a new page with location.href, ie doesn't set the http referer header while firefox&mozilla does... I tried the click() method on a hidden link, this times it works on ie, but...
3
by: exxos | last post by:
Hi all, I'm trying to list to a html page where the referer is, There are a lot of ways ive tried and work, but the problem if my mainpage uses frames, and no matter where I do the referer check...
3
by: Giuseppe | last post by:
I need to make a little software to know how many visitors see my websites, and where they come from. So I've added this code at the end of a webpage: <!------- Begin Stat code ------------->...
4
by: Raed Sawalha | last post by:
Dear : In my web page I'm always checking the referer page if it was empty I do something else also I do something :0). the problem in my ASPX page client side I did a popup window, and when...
1
by: Al | last post by:
Hi i'm having troble with a script where i check referer, on a PC with Zone Alarm Pro the referer isn't send... i did a couple of page of testing and no referer is sand, closing ZAP the...
0
by: j2lane | last post by:
im using frameset in an aspx page, which top frame is index.html and bottom one is footer.html. when a button in footer clicked, there is a pop up window pops, which i need to detect the previous...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.