Here goes, but you're just bound to get a few comments If you need more help, I would consider joining an ASP list
<% if var1 = "" then response.write("variable does not exist") else response.write("variable exists") end if%> Test it by setting the variable before the if statement (as so) dim var1 var1 = "test" Hth Mark -----Original Message----- From: Asim Manzur [mailto:[EMAIL PROTECTED] Sent: 05 January 2005 14:17 To: CF-Talk Subject: ASP help could someone please tell me the following code in ASP??? Thanks once again. <CFIF IsDefined("pid")> do this................ <cfelseif IsDefined("jid")> do this............ <cfif> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189375 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54