Hi Asim,

Try:

<% if session.contents("link")="1" then %>

put the img tag here

<% else%>

Put another link here

<% end if%>

Hope it helps.

Sima

-----Original Message-----
From: Asim Manzur [mailto:[EMAIL PROTECTED]
Sent: Monday, July 26, 2004 2:20 PM
To: CF-Talk
Subject: ASP help required

<a
> y_o.gif'; window.status = 'Our Company';return true;"
> .gif'; window.status = '';return true;" return true;"
href=""> <img border="0" src="" name="ourcompany"
width="81" height="22" title="Our Company"></a>

This is the mouseover link image.

I want to check the session var. if it doesn't exist then <cfset
session.link = 1>
if its exist then compare the value of <cfif session.link EQ 1> and then
execute the top line of the code for role over otherwise streight <img
src="">
How can I accomplish in ASP.

would appriciate if someone can write up the line of code in ASP for me.

Thanks.

  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to