This logic is wrong:
Code:
<%
dim naam
if naam <> "" then
naam = session("Name")
response.Write(naam)
else
Response.Write("No Session Value")
end if
%>
Specifically, these 2 lines:
Code:
dim naam
if naam <> "" then
Your if statement is always going to evaluate as false because you declare naam without first assigning a value to it so naam is always going to equal an empty string.
hth.
-Doug
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
.: Wrox Technical Editor / Author :.
Wrox Books 24 x 7
================================================== =========