Hi all!

I have a problem (probably a simple one). And I need some help with it.

The line with bold red "verifyurl" gives me a bit of a headache. It comes up with an error File <%verifyurl%> can't be found!

If someone has an aidea about solving this issue, please be so kind to respond.

Thanks in advance for any kind of help.

Dee

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Untitled Page</title>
</head>
<body>

    <p>
        Hi <% UserName %>!</p>
    <p>
        &nbsp;</p>
    <p>
        text:
</p>
<p>
   <a href="[B]<%verifyurl%>[/B]"><%verifyurl%> </a>
</p> 
        
    <p>
        &nbsp;</p>
    <p>
        Text</p>
    <p>
        &nbsp;</p>
    <p>
       text</p>
    <p style="width: 40px">
        text</p>
    <p>
        &nbsp;</p>

</body>
</html>

Recommended Answers

All 3 Replies

if this is an .aspx page the notation should be <%= verifyurl %>
and in the code behind file verifyurl must be a public variable.

Thanks Serkan, I'll try this and post results!

Thanks again for your answer.

Be well

Dee

if this is an .aspx page the notation should be <%= verifyurl %>
and in the code behind file verifyurl must be a public variable.

I tried it but doesn't work.

<%verifyurl%> is on a html page set by E-mail upon registration.

It should be changed into random "verifyurl" variable (URL) from VB code in the back file.

However - it seems like html can't define <%verifyurl%> in the first place - even before VB changes it to "verifyurl" variable.

Because of that the actual URL doesn't show in the mail sent to a new user.

My question is:

Do I have to define <%verifyurl%> somewhere in some other file maybe (I'm using Visual web developer express 2008).
I was trying this on a "local server"

Thanks in advance

Dee

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.