I am unable to create cookies for some reason using ASP and VBScript. My browser preferences are not the problem as every other site (including this one) creates cookies in my C:\Windows\Cookies folder without any problems. It must therefore be something to do with my code...
Response.Buffer=True
blah blah blah...
Response.Cookies("Details"
("Email"
= strEmail
Response.Cookies("Details"
("Mobile"
= strMobile
Response.Cookies("Details"
("ForeName"
= strForeName
Response.Cookies("Details"
("LoginID"
= strLoginID
Response.Cookies("Details"
.Expires = Date + 365
No errors are generated. The page displays as normal. All is OK except the cookie creation fails.
I read somewhere else on this forum that the code has to be in between the <HEAD> and </HEAD> tags. I've not seen that anywhere else but even that hasn't helped.
Any advice greatly appreciated...
Dave
Response.Buffer=True
blah blah blah...
Response.Cookies("Details"
Response.Cookies("Details"
Response.Cookies("Details"
Response.Cookies("Details"
Response.Cookies("Details"
No errors are generated. The page displays as normal. All is OK except the cookie creation fails.
I read somewhere else on this forum that the code has to be in between the <HEAD> and </HEAD> tags. I've not seen that anywhere else but even that hasn't helped.
Any advice greatly appreciated...
Dave