Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Update image problem

Update image problem

Scheduled Pinned Locked Moved ASP.NET
helpannouncement
12 Posts 6 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nour123
    wrote on last edited by
    #1

    Hi all I have a form that updates the image for a user, when i update the image, the old image still appear, the update does not take effect from the first page load I need your help

    Nour Abdel-Salam... A Trainer and a Web Developer in Jedda Int'l Computer Center(JICC)

    C R 3 Replies Last reply
    0
    • N nour123

      Hi all I have a form that updates the image for a user, when i update the image, the old image still appear, the update does not take effect from the first page load I need your help

      Nour Abdel-Salam... A Trainer and a Web Developer in Jedda Int'l Computer Center(JICC)

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      I recommend reading the post on how to ask questions at the top of this forum. My answer right now is, your code is broken. Describing the problem with some actual code, would elicit a more specific response.

      Christian Graus Driven to the arms of OSX by Vista.

      1 Reply Last reply
      0
      • N nour123

        Hi all I have a form that updates the image for a user, when i update the image, the old image still appear, the update does not take effect from the first page load I need your help

        Nour Abdel-Salam... A Trainer and a Web Developer in Jedda Int'l Computer Center(JICC)

        R Offline
        R Offline
        Rutvik Dave
        wrote on last edited by
        #3

        post the portion of the code for clear idea, but as per my understanding, you are loading the image to some temp file on the server, i.e. userimage.jpg and you have displayed that image on the page. and when user changes you are just replacing that image with another user image, so the name remains same every time. if this is the case then, your browser will not know, that image is changed, as the name of the image is same, with same size. so it will not request the image from the server next time, and loads the image from the history (temp internet files folder on client pc). this will happen until the image/content is not expired. (you can set this timeout value in <% Register ...> Tag on the aspx page ) to avoid that just put the username or random number before/after the image name i.e. image.jpg or use the direct memory binding instead of file base assignment.

        1 Reply Last reply
        0
        • N nour123

          Hi all I have a form that updates the image for a user, when i update the image, the old image still appear, the update does not take effect from the first page load I need your help

          Nour Abdel-Salam... A Trainer and a Web Developer in Jedda Int'l Computer Center(JICC)

          R Offline
          R Offline
          Rutvik Dave
          wrote on last edited by
          #4

          The same question you asked previously also... and you got some asnwers also... then why are you starting a new thread with the same question ? wait for someone to reply... and dont think that it is 2-3 pages old, so nobody will answer... :)

          N 1 Reply Last reply
          0
          • R Rutvik Dave

            The same question you asked previously also... and you got some asnwers also... then why are you starting a new thread with the same question ? wait for someone to reply... and dont think that it is 2-3 pages old, so nobody will answer... :)

            N Offline
            N Offline
            nour123
            wrote on last edited by
            #5

            if you have an answer just write it otherwise close your mouth...

            Nour Abdel-Salam... A Trainer and a Web Developer in Jedda Int'l Computer Center(JICC)

            C S J A 4 Replies Last reply
            0
            • N nour123

              if you have an answer just write it otherwise close your mouth...

              Nour Abdel-Salam... A Trainer and a Web Developer in Jedda Int'l Computer Center(JICC)

              C Offline
              C Offline
              Christian Graus
              wrote on last edited by
              #6

              nour123 wrote:

              if you have an answer just write it otherwise close your mouth...

              OK, if you want to be rude...

              nour123 wrote:

              Trainer and a Web Developer in Jedda Int'l Computer Center(JICC)

              You TRAIN people where you work, but you can't work out these simple questions, you post them here over and over and when the person who has ALREADY answered you, also points out that you're asking repeatedly, you're rude to him as if you EXPECT an answer, as if it's your RIGHT that we do your work for you, so that you can be paid more than you're worth while simultaneously taking work away from the people with actual dev skills, the very people you rely on to do your work for you ? What the hell is wrong with you ?

              Christian Graus Driven to the arms of OSX by Vista.

              1 Reply Last reply
              0
              • N nour123

                if you have an answer just write it otherwise close your mouth...

                Nour Abdel-Salam... A Trainer and a Web Developer in Jedda Int'l Computer Center(JICC)

                J Offline
                J Offline
                Jeremy Falcon
                wrote on last edited by
                #7

                nour123 wrote:

                if you have an answer just write it otherwise close your mouth...

                Ok, I have an answer for you then... go back to flipping burgers where you belong.

                Jeremy Falcon jeremyfalcon.com[^]

                N 1 Reply Last reply
                0
                • N nour123

                  if you have an answer just write it otherwise close your mouth...

                  Nour Abdel-Salam... A Trainer and a Web Developer in Jedda Int'l Computer Center(JICC)

                  S Offline
                  S Offline
                  Shog9 0
                  wrote on last edited by
                  #8

                  nour123 wrote:

                  otherwise close your mouth...

                  Brother, you'd do well to heed your own advice. The rules for asking questions here are clearly posted; what you hope to achieve by ignoring them is hard to fathom.

                  ----

                  You're right. These facts that you've laid out totally contradict the wild ramblings that I pulled off the back of cornflakes packets.

                  N 1 Reply Last reply
                  0
                  • N nour123

                    if you have an answer just write it otherwise close your mouth...

                    Nour Abdel-Salam... A Trainer and a Web Developer in Jedda Int'l Computer Center(JICC)

                    A Offline
                    A Offline
                    Abhijit Jana
                    wrote on last edited by
                    #9

                    nour123 wrote:

                    if you have an answer just write it otherwise close your mouth...

                    This forum is not for people Trainer like you :-\ :-\

                    cheers, Abhijit My Recent Article : Beginner's Guide to ASP.NET Application Folder

                    N 1 Reply Last reply
                    0
                    • A Abhijit Jana

                      nour123 wrote:

                      if you have an answer just write it otherwise close your mouth...

                      This forum is not for people Trainer like you :-\ :-\

                      cheers, Abhijit My Recent Article : Beginner's Guide to ASP.NET Application Folder

                      N Offline
                      N Offline
                      nour123
                      wrote on last edited by
                      #10

                      if you don't understand, i'll repeat it clearly if you have an answer just write it otherwise close your mouth(shutup) please don't reply because i'll not read... hahaha

                      Nour Abdel-Salam... A Trainer and a Web Developer in Jedda Int'l Computer Center(JICC)

                      1 Reply Last reply
                      0
                      • J Jeremy Falcon

                        nour123 wrote:

                        if you have an answer just write it otherwise close your mouth...

                        Ok, I have an answer for you then... go back to flipping burgers where you belong.

                        Jeremy Falcon jeremyfalcon.com[^]

                        N Offline
                        N Offline
                        nour123
                        wrote on last edited by
                        #11

                        fALCON?

                        Nour Abdel-Salam... A Trainer and a Web Developer in Jedda Int'l Computer Center(JICC)

                        1 Reply Last reply
                        0
                        • S Shog9 0

                          nour123 wrote:

                          otherwise close your mouth...

                          Brother, you'd do well to heed your own advice. The rules for asking questions here are clearly posted; what you hope to achieve by ignoring them is hard to fathom.

                          ----

                          You're right. These facts that you've laid out totally contradict the wild ramblings that I pulled off the back of cornflakes packets.

                          N Offline
                          N Offline
                          nour123
                          wrote on last edited by
                          #12

                          REGARDS

                          Nour Abdel-Salam... A Trainer and a Web Developer in Jedda Int'l Computer Center(JICC)

                          1 Reply Last reply
                          0
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • World
                          • Users
                          • Groups