muralinaidu
Programmer
hi,
can any one tell me how to set a connection variable to nothing. actually in vbscript we do it in the following way.
dim cn
set cn=Server.Createobject("Adodb.Connection"
now after doing some tasks we close it like the following.
cn.Close
set cn=nothing.
above set cn=nothing is to kill the variable. now i am doing the same conneciton things in javascript. i know till closing a connection object. but i don't know how to set it to null after closing.
thanking you
murali
can any one tell me how to set a connection variable to nothing. actually in vbscript we do it in the following way.
dim cn
set cn=Server.Createobject("Adodb.Connection"
now after doing some tasks we close it like the following.
cn.Close
set cn=nothing.
above set cn=nothing is to kill the variable. now i am doing the same conneciton things in javascript. i know till closing a connection object. but i don't know how to set it to null after closing.
thanking you
murali