Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Can the type of client influence ASP code?

Thread Tools

Can the type of client influence ASP code?

Posts: n/a

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 &
strHTML = "<tr><td align=center>" & strHTML & _
"</td></tr><tr><td>&nbsp;</td></tr>" & vbCrLf
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.


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to influence who the User is =?Utf-8?B?V2hpc2t5Um9tZW8=?= ASP .Net 1 02-13-2006 09:59 PM
performance: IIS - Sqlserver locks influence??? Alex Callea ASP .Net 4 11-09-2004 03:37 PM
How can the digital camera influence photographers? Kamol Panitpongsakorn Digital Photography 3 04-14-2004 02:44 PM
DVD Verdict reviews: A DECADE UNDER THE INFLUENCE, ROGER AND ME, and more! DVD Verdict DVD Video 0 09-24-2003 09:04 AM
10D: does CF write speed influence burst-shooting rate? Alan F Cross Digital Photography 3 07-14-2003 01:22 PM