S
Shapper
Hello,
I have this image in my HTML code:
<img src="images/en-US/myImage.jpg" />
I want to change the URL using the value of a Session variable.
<img src="images/ Session("culture") Value /myImage.jpg" />
This is what I did:
<img src='images/<%# Session("culture") %>/myImage.jpg' />
I change the " to ' because when I was using " I got an error.
I also did this to test my Session Value:
OO<% Response.Write(Session("culture")) %>OO
I got "OOen-USOO" which was what I was expecting.
However the image doesn't show up.
Can someone help me?
I don't know what else to do.
Thank You,
Miguel
I have this image in my HTML code:
<img src="images/en-US/myImage.jpg" />
I want to change the URL using the value of a Session variable.
<img src="images/ Session("culture") Value /myImage.jpg" />
This is what I did:
<img src='images/<%# Session("culture") %>/myImage.jpg' />
I change the " to ' because when I was using " I got an error.
I also did this to test my Session Value:
OO<% Response.Write(Session("culture")) %>OO
I got "OOen-USOO" which was what I was expecting.
However the image doesn't show up.
Can someone help me?
I don't know what else to do.
Thank You,
Miguel