PaulHolmes
MIS
Newbie to ASP. I am setting a session variable as follows
session("location"
= "gib1"
This works fines. However, I wish to change this variable when the user clicks a link on the website. I have created a hotspot for the link and have used the onClick behavoiur to move to the new URL, this also swaps an image. As follows:
<area shape="rect" coords="2,94,124,118" href="#" onClick="MM_goToURL('parent','locationinfocan3.asp');return document.MM_returnValue" onMouseOver="MM_swapImage('Image2','','destinationmenu-eatingout.gif',1)" onMouseOut="MM_swapImgRestore()">
How do i set the new session variable before the new page is displayed.
Thanks.
session("location"
This works fines. However, I wish to change this variable when the user clicks a link on the website. I have created a hotspot for the link and have used the onClick behavoiur to move to the new URL, this also swaps an image. As follows:
<area shape="rect" coords="2,94,124,118" href="#" onClick="MM_goToURL('parent','locationinfocan3.asp');return document.MM_returnValue" onMouseOver="MM_swapImage('Image2','','destinationmenu-eatingout.gif',1)" onMouseOut="MM_swapImgRestore()">
How do i set the new session variable before the new page is displayed.
Thanks.