Dynamic image in aspx

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Andres Romero

    Dynamic image in aspx

    I have a Image control in an aspx page with a url static "http://localhost/dir/tmp/test.gif

    This image changes every time the page is submited (the content not the name). When the page is showed in first time tha image is correct, but when is submited and the image content must change, the first is conserved as if it where in a buffer.

    Can somebody help me?
  • Branimir Giurov

    #2
    Re: Dynamic image in aspx

    You can change the URL so it leads to an aspx page and on that page use
    Response.Binary Write to output the image. Use session variables so you can
    change the image that's being written or a POST request such as
    http://localhost/dir/tmp/image.aspx?guid=[some guid goes here]

    Hope that will help,
    Branimir

    --
    Branimir Giurov
    MCSD.NET, MCDBA


    "Andres Romero" <anonymous@disc ussions.microso ft.com> wrote in message
    news:83F54D21-ABD1-49E8-B34B-625EFF1A6B83@mi crosoft.com...[color=blue]
    > I have a Image control in an aspx page with a url static[/color]
    "http://localhost/dir/tmp/test.gif"[color=blue]
    >
    > This image changes every time the page is submited (the content not the[/color]
    name). When the page is showed in first time tha image is correct, but when
    is submited and the image content must change, the first is conserved as if
    it where in a buffer.[color=blue]
    >
    > Can somebody help me?[/color]


    Comment

    Working...