Yes, you could use a session value. But then you have to change your approach back to the original way. You'll need to use a postback button (imagebutton). When that image button is clicked and the postback handler runs, you save the image path to a session value and then redirect to the image view page which pulls the image path from the session value. This seems accessive and entails an extra page round trip just to move the image path from the querystring to the session. But that's how you could do it.
-
Peter