Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

passing HTTP referer codes

Quote Reply
passing HTTP referer codes
G'day gents. I work for a hub company which promotes a wide variety of sites. I'd like people to be able to hit mydomain.com?ref=1234 and have that ref passed through all the links. I can edit the jump.cgi to pass it, but that doesn't make LinkSQL include it on all it's links. Before I start ripping apart this code, I wonder if somebody has attempted this before.

Advice is much appreciated.
Quote Reply
Re: [npoole] passing HTTP referer codes In reply to
I think that to do what you want you would need to be running a dynamic site and if you go to admin->setup->build options->dynamic preserve you can add 'ref' as a variable that needs preserving. I assume you could then link out using something like jump.cgi?ID=<%ID%>&ref=<%if ref%><%ref%><%endif%>
Quote Reply
Re: [afinlr] passing HTTP referer codes In reply to
Rock out. Thanks buddy. That worked real well for me. Thanks again.