|
checkpost.asp sub question |
Post Reply |
Author | |
lleemon
Groupie Joined: March/16/04 Location: United States Status: Offline Points: 41 |
Post Options
Thanks(0)
Posted: July/25/05 at 12:06pm |
Figured it out.
|
|
lleemon
Groupie Joined: March/16/04 Location: United States Status: Offline Points: 41 |
Post Options
Thanks(0)
|
Just trying out the postpone option on the form element and get it to work on one site but not on another but really not sure why. After looking into this I find the routine checkReferer in file checkpost.asp. My question is, the way this is setup, wouldn't it be wrong everytime?
Request.ServerVariables("HTTP_REFERER") is http://www.domain.com/sample.asp Basically, get domain name into two variables: ServerURL = "http://www.domain.com" ServerURL2 = "https://www.domain.com" The next section gets just the domain name from the url passed and based on length of the ServerURL it gets that info: TestURL = "http://www.domain.com" TestURL = "http://www.domain.com/" Then it checks to see if strings are different.
Wouldn't TestURL2 always be wrong if your not coming from a secure (https) location? And then TestURL would be wrong if coming from a secure location? Needs some clarification on this one. Thanks. |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |