Can the type of client influence ASP code?

C

CPS

Hi,

I have a problem, that suggests the client (type of?) is influencing the
HTML generated by my ASP code. Is this even possible?

My problem is this.

I have an ASP routine that takes some image details and constructs the HTML
as below:

Sub vbWriteBodyPic( strBdyPic, strBdyLink, strBdyAlt, strHTML )
If Trim(strBdyPic) <> "" Then
strHTML = "<img border=0 src=""" & strBdyPic & _
""" width=600 height=100 alt=""" & _
Server.HTMLEncode(Trim(strBdyAlt)) & """/>"
If Len(strBdyLink)>0 Then strHTML = "<a href=""redirect.asp?url=" & _
strBdyLink & """ TARGET=""Target = new"">" & strHTML &
"</a>"
strHTML = "<tr><td align=center>" & strHTML & _
"</td></tr><tr><td>&nbsp;</td></tr>" & vbCrLf
Else
strHTML = ""
End If
End Sub


On some clients, the <img......./> tag is missing completely from the
generated HTML. On others, it is rendered correctly 100% of the time. (The
data in the parameters is identical - from same DB)

The fact that this happens on only some clients, suggests it is the client
at fault, but the fact that HTML is missing suggests it is the
Server/asp/code at fault.

Does anyone have any ideas, as this is driving me mad!

Many Thanks.

Colin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top