Forums
This topic is locked
inserting a dynamic url into a mail
Posted 17 Jul 2001 15:29:40
1
has voted
17 Jul 2001 15:29:40 Christian Sagmeister posted:
Hello,I would like that by sending an email from my webpage an url should be
inserted in this ,mail which can do following:
By clicking the link of this mail, the user should be directed to the
registration page and his User_ID should automatically be inserted in the
fill out form.
The dynamic link will be generated from a recordset which lists all
predefined UserÍDs
I think the link should look similar to that:
www.mywebpage.com/register.asp/?UserID
Is this possible?
Replies
Replied 25 Jul 2001 23:22:43
25 Jul 2001 23:22:43 Dennis van Galen replied:
yes, this is possible.
BUT, I only know how to do this when the data is allready on the server, meaning, that the user allready has a ID, you would just enter the link in a hidden field and you bind the dynamic userId at the end of the URL.
So your URL would look like this:
www.mywebpage.com/register.asp?UserID=<%=(RsUsers.Fields.Item("UserId".Value)%>
I don't know what purpose that would serve though.
They have to sign up first to HAVE a UserID.
And most importantly, since the user had no ID nr yet, you couldn't get the right value, cause there is no value for him, he isn't known in the Dbase yet, so...
What exactly are you trying to do ?
With kind regards,
Dennis van Galen
Webmaster SPG Finance
KPN Telecom Holland NV
BUT, I only know how to do this when the data is allready on the server, meaning, that the user allready has a ID, you would just enter the link in a hidden field and you bind the dynamic userId at the end of the URL.
So your URL would look like this:
www.mywebpage.com/register.asp?UserID=<%=(RsUsers.Fields.Item("UserId".Value)%>
I don't know what purpose that would serve though.
They have to sign up first to HAVE a UserID.
And most importantly, since the user had no ID nr yet, you couldn't get the right value, cause there is no value for him, he isn't known in the Dbase yet, so...
What exactly are you trying to do ?
With kind regards,
Dennis van Galen
Webmaster SPG Finance
KPN Telecom Holland NV