programming-examples/asp/More_Code_Snippets/User will only see content on a page once.asp

10 lines
235 B
Plaintext
Raw Permalink Normal View History

2019-11-18 14:25:58 +01:00
<%
response.buffer =true
viewed = request.cookies("read")
if viewed = "" then
response.write "You have not been here before " & "<br>"
response.cookies("read") = "ok"
else
response.write "You have been here before "
end if
%>