Put the registered user's avatar in the session: Session ["img"] = img; and when reading the avatar string img = Session ["img"]. ToString (); the value obtained is "img" instead of my picture route of. . What's the matter? ?
First find a picture path and assign it to SESSION and then do the debugging to see if it can be obtained. If it is possible, you have a problem with the assignment variable