Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Visual interdev
Message
Information générale
Forum:
Internet
Catégorie:
Problèmes
Titre:
Divers
Thread ID:
00048983
Message ID:
00049182
Vues:
67
>Hi,
>
>In my logon.asp file, I'm trying to insert into HTML a Data Command Control and check the criteria. If EOF I'd like to Response.Redirect ("error.htm").
>But I keep getting this error:
>
>"Response object error 'ASP 0156' Header Error /myprojname/logon.asp,line 39
>The HTTP headers are already written to the clent browser. Any HTTP header modifications must be made before writing page content"
>
>Has anyone else run across this problem and know of a solution?
>
>apprecite your help,
>
>Jamuna

Response.Redirect has to be above the tag in order for it to work. One way around this is to issue <%Response.Buffer = TRUE%> at the top of your script. This way, the server deosn't send any HTML to the client until all scripts have processed, or you call Flush or End method of the Response object.

HTH

Gary
"It is an important and popular fact that things are not always what they seem. For instance, on the planet Earth, man had always assumed that he was more intelligent than dolphins because he had achieved so much -- the wheel, New York, wars and so on -- whilst all the dolphins had ever done was muck about in the water having a good time. But conversely, the dolphins had always believed that they were far more intelligent than man -- for precisely the same reasons." - Douglas Adams
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform