Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Username Field in Links

Quote Reply
Username Field in Links
Hi,
I am building a cash back site using the newset version of links sql. What i need to do is be able to add the variable <%Username%> for the url of each links. For an example:

<a href="<%URL%>&u1=<%Username%>">

The problem i am having is that the variable Username is not defined. How do you define this vararible for the links.html page?

The Username variable allows me to track what member purchased what item

Does anyone know how to do this?
Thank You,
Jason Bishop
Jason Bishop

Quote Reply
Re: [netnow] Username Field in Links In reply to
Try <%user.Username%>

(not sure if it works in link.html)

Quote Reply
Re: [gotze] Username Field in Links In reply to
Hi I figured i out, the site has to be run indynamic mode and it works


Thanks for your reply
Jason Bishop

Quote Reply
Re: [netnow] Username Field in Links In reply to
okay after a long delay i am trying to build my cash back site..

I am having a problem adding this to the URL for my links

Here is my current URL

URL= http://www.anrdoezrs.net/click-XXXXXX-10310121

When a user is logged in (all users must be logged in to use the site) i need to add this to the URL

?SID=ShopperID_Value

in which the shopper ID is the username of the logged in user.

I still need the links to go through the jump.cgi because i am using the frame redirect

Does anyone know how to do this? or where should i begin?
Jason Bishop

Quote Reply
Re: [netnow] Username Field in Links In reply to
ANybody?
Jason Bishop