ASP cookies problem

P

patbaudy

I'm trying to create cookies on the fly with ASP.
Here is what I'm doing:

------------------
Dim OrderSetNumber, combo

OrderSetNumber = request.Form("orderNum")
combo = request.Form("comboType")

response.Cookies("order")(CStr(OrderSetNumber))("combo") = combo


-----------------

When I run the code, the following error occurs:

"Microsoft VBScript runtime error '800a01b6'

Object doesn't support this property or method: '[object]' "

Can someone help?
Is it possible to create cookies on the fly with asp?
Also, is it possible to create variable on the fly too?

Best regards,

Pat
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top