473,387 Members | 1,493 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Can the type of client influence ASP code?

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

Jul 19 '05 #1
0 1037

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Eduard Dewolf | last post by:
Hi, Im have been changing my site to make it HTML 4.01 compliant As I should, I wrapped all INPUT tags in blocks I wrapped the not visible INPUT type HIDDEN tags in first PRE, later H6 tags...
100
by: E. Robert Tisdale | last post by:
What is an object? Where did this term come from? Does it have any relation to the objects in "object oriented programming"?
51
by: jacob navia | last post by:
I would like to add at the beginning of the C tutorial I am writing a short blurb about what "types" are. I came up with the following text. Please can you comment? Did I miss something? Is...
7
by: Jamie Phillips | last post by:
I'm sure this topic has been "around the block" a few times, but I have not been able to find ANY solutin that fits this particular problem. I have written a Java Axis web service that has a method...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.