Asp Sucks

Results 1 to 7 of 7

Thread: Asp Sucks

  1. #1
    Alain Poirer Guest

    Default Asp Sucks

    I am trying to do the following and having a lot of headaches out of it:<BR><BR>i have a page wich has a Respons.write("&#060;img src=&#039;; width=&#039;1&#039; height=&#039;1&#039;&#062;")<BR><BR>after that i have a Response.Redirect wich seems to stop my first line from executing.. any idea on how to make this work would be greatly apreciated.<BR><BR>thanks in advance

  2. #2
    Mike H. Guest

    Default ASP is Great

    What is it exactly that you are trying to do? Response.Redirect redirects you immediately, so it sounds like it is working just fine. Are you trying to make your image a hyperlink? Then you should have<BR>Response.Write "&#060;a href=""""&#062;&#060;img src=""images/picture.gif"" width=""1"" height=""1""&#062;&#060;/a&#062;"<BR><BR>HTH,<BR>Mike

  3. #3
    Reji Guest

    Default RE: Asp Sucks

    It&#039;s not;s you !!!

  4. #4
    Reji Guest

    Default RE: Asp Sucks

    It&#039;s not;s you !!!

  5. #5
    Alain Poirier Guest

    Default RE: ASP is Great

    no the image source would be a link to a page wich performs some more code. a bit as a include but the page can reside on a different server.. it works fine if i take off the response.redirect but as soon as i put it back it stops working.

  6. #6
    Mike H. Guest

    Default RE: ASP is Great

    If you are using ASP 3.0, you can try server.execute "somepage.asp" which will execute the code on somepage.asp and then return to your page. Otherwise, I guess I don&#039;t understand what you are trying to do.

  7. #7
    Join Date
    Dec 1969

    Default RE: Asp Sucks

    You CAN NOT use Response.Redirect after writing data to the browser

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts