How to store username and password,cookie s
I want to create cookies in which the text written by anyone in textbox should be stored?
I have this code:-
I want to create cookies in which the text written by anyone in textbox should be stored?
I have this code:-
Code:
<%
dim numvisits
response.cookies("NumVisits").Expires=date+365
numvisits=request.cookies("NumVisits")
if numvisits="" then
response.cookies("NumVisits")=1
response.write("Welcome! This is the first time you are visiting this Web page.")
else
response.cookies("NumVisits")=numvisits+1
response.write("You have visited this ")
response.write("Web page " & numvisits)
if numvisits=1 then
response.write " time before!"
else
response.write " times before!"
end if
end if
%>
Comment