Hi,

Using Training from the source book - Dreamweaver MX dynamic sites.......but
software is actually Studio MX 2004, running on Windows 2000 platform using
local Microsoft IIS as testing server.......I am going through the book and got
to the following simple exercise to pass querystrings from a form, set cookies
on local hard drive and then open third page to say Hi....firstName lastName by
retrieving cookies. The names do not get passed to the third page via the Check
Cookie link:

Any help would be greatly appreciated...did set IE6 to accept All cookies.....

test_form_processor.asp
--------------
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<% Response.Cookies("firstName")= Request.QueryString("firstName") %>
<% Response.Cookies("firstName").Expires = Date + 30 %>
<% Response.Cookies("lastName") = Request.QueryString("lastName") %>
<% Response.Cookies("lastName").Expires = Date + 30 %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>

<body>
<p>Thank you, <%= Request.QueryString("firstName") %>&nbsp;<%=
Request.QueryString("lastName") %>, for filling out our form.
</p>Check <a href="test_form_processor_cookies.asp">cookie</a></body>
</html>

THIS PART WORKED until clicked cookie
-----------
calls the following file:
test_form_processor_cookies.asp

<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>

<body>
<p>Hi, <%= Request.Cookies("firstName") %> &nbsp; <%=
Request.Cookies("lastName") %>!
</p>
</body>
</html>

Seems that the response.cookies or request.cookies did not work