hi,
In my asp page, i write code like this for checking date validation
<%
'Session 1
session.lcid=2057
Session("CheckIn")= "26/12/2009"
d=0
response.write session("CheckIn")&"----"&DateAdd("d",d,Session("CheckIn")) &"<br/>"
if session("CheckIn")= DateAdd("d",d,Session("CheckIn")) then
response.write "Session 1 is workings"
end if
'Session 2
a ="26/12/2009"
b ="26/12/2009"
if a=b then
response.write "Session 2 is workings"
end if
%>
In the session 1 "if" condition is not working. But if i write date in string format in session 2, "IF" condition is working.
How i check "IF" condition in Session 1 in my classic asp page
hoping your response,