This is a discussion on "track referer and pass value to asp send email page" within the Classic ASP section. This forum, and the thread "track referer and pass value to asp send email page are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
track referer and pass value to asp send email page
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
track referer and pass value to asp send email page
Hi,
I hope someone can help! I am primarily just an html coder and desperately need some help. I need to track just the url of any referring site to my own and then include it in a seperate "send email" asp page. I have tried using php but frontpage doesn't seem to be very php friendly. I've been trying to figure this out for 2 or 3 days and I am ready to tear my hair out so any help would be greatly appreciated! regards, paul |
|
|
|
||||
|
Re: track referer and pass value to asp send email page
Can you please give a break down of the process involved here....
What is the purpose... what is the click path of the user and at what point is an email sent. This info will help us direct you.
__________________
Rob - SEO Specialist Owner & Founder of Webforumz.com I am currently unavailable for private work
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
|||
|
Re: track referer and pass value to asp send email page
thanks for getting back to me so quickly!
I am trying to set up a very simple affiliate program. The client would click on a link to our website and usually they read some info on other pages on the site first before submitting an apllication. When they submit a query (on a asp page) it sends an email to me and to the client. When this application is made i need to know which website they came from originally. hope this clarifies things. sorry for being so vague before. regards, paul |
|
||||
|
Re: track referer and pass value to asp send email page
ok....
Here's a way. Check for the existance of a cookie called "Strreferer" (The cookie name isnt important) If the cookie exists, do nothing. If it doesnt, then store the referer in there: Response.Cookies("strReferer") = Request.Servervariables("HTTP_REFERER") When you fire over your email, just grab the referer from the cookie. Obviously this relies on cookies..... but so does session variables. The only other way is to append the referer in a querystring on each and every internal link you have.... which is not really practical, but would be the only cookie-less solution.
__________________
Rob - SEO Specialist Owner & Founder of Webforumz.com I am currently unavailable for private work
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
![]() |
| Tags |
| track, referer, pass, value, asp, send, email, page |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to send email to user? | LegolasV | JavaScript Forum | 1 | Jun 5th, 2008 09:16 |
| Please help me send an Email template. | Oak | Web Page Design | 5 | May 20th, 2008 07:37 |
| PHP Form send in email | Bravo81 | PHP Forum | 20 | Jan 17th, 2008 11:47 |
| Form won't send to email? | Inkers | Web Page Design | 3 | Jan 22nd, 2007 16:11 |
| how to send email in php | manzil | PHP Forum | 1 | Jul 30th, 2006 16:34 |