C
craigkenisston
Hi,
I recently read a lot about a topic called page hijacking. It seems
that you can steal page rank from search engines while doing a
redirect.
I reminded I had a code in some pages, where someone clicks a link on
my site, I first go to a page to save the link, then I have a redirect
to the site (I want to count this clicks out).
The code looks like :
if (Request.Params["target"] != null)
{
string target = Request.Params["target"];
string source = ConfigurationSettings.AppSettings["DomainName"]
string ClientIP;
ClientIP = Request.UserHostAddress;
trafficMgmt trafficMgmt = new mydomain.trafficMgmt();
trafficMgmt.AddClick(source, ClientIP, target);
Response.Redirect(target);
}
Could this code hurt the target site ?
Which code does this Response.Redirect to the browser ? Is it 301 or
302 ? Which is the effect on each code ?
Thanks in advance.
I recently read a lot about a topic called page hijacking. It seems
that you can steal page rank from search engines while doing a
redirect.
I reminded I had a code in some pages, where someone clicks a link on
my site, I first go to a page to save the link, then I have a redirect
to the site (I want to count this clicks out).
The code looks like :
if (Request.Params["target"] != null)
{
string target = Request.Params["target"];
string source = ConfigurationSettings.AppSettings["DomainName"]
string ClientIP;
ClientIP = Request.UserHostAddress;
trafficMgmt trafficMgmt = new mydomain.trafficMgmt();
trafficMgmt.AddClick(source, ClientIP, target);
Response.Redirect(target);
}
Could this code hurt the target site ?
Which code does this Response.Redirect to the browser ? Is it 301 or
302 ? Which is the effect on each code ?
Thanks in advance.