Forums
This topic is locked
Session name used within image url problem
Posted 09 Jun 2005 13:16:06
1
has voted
09 Jun 2005 13:16:06 James Noon posted:
HiI have some images whos path within my template looks something like
../lang_images/<%=session("chosenlang"%>/logo.jpg
<%=session("chosenlang"%> is used to identify which folder the images are in. ie, en, fr, spa etc
but because I have the session bit in there dw does not correctly update the path on pages based on this template.
Is there a work around for this???
Many Thanks
James
Replies
Replied 09 Jun 2005 17:56:31
09 Jun 2005 17:56:31 Simon Bloodworth replied:
Where is the data for the session coming from? - e.g a user language selection?
Simon
DWMX 2004 | ASP | VBScript
Simon
DWMX 2004 | ASP | VBScript
Replied 09 Jun 2005 18:17:55
09 Jun 2005 18:17:55 James Noon replied:
I have a form on the page which is used to select your language, this then links to an xml file which sets the chosen charset, ie en for english
If I make the link site relative it works (but didnt want that ideally)
Cheers, J
If I make the link site relative it works (but didnt want that ideally)
Cheers, J