Using Handler.ashx - Photo of the day RRS feed

  • Question

  • User1865173373 posted

    Hello All,

    I want to display the 'Photo of the day' in my webage.I used PWS as my reference to do that.But i want to know without using Handler.ashx page, can i do that with simple webpage?

    Or Is it good to use only Handler.ashx file for getting random photos?Please clear my doubt. As am beginner its really very hard to understand what is about Handler.ashx page?When should we use that?

    And also i am thinking of to store my Images in my application and only ImageUrl in database.But when i store imageURL's in database i should use http://localhost:5423..... but if i store like this when i run the application for the second time it is changing that port number.That time it is not displaying the images.So i am confused with how is it possible to store only the imageURL in database.

    Please clear my doubt.

    Thanks to all.

    Wednesday, March 26, 2008 4:57 PM

All replies

  • User-1540720552 posted

    Use relative path instead of absolute path for image.


    Wednesday, March 26, 2008 5:18 PM