Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > ASP cookies problem

Thread Tools

ASP cookies problem

Posts: n/a
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))("c ombo") = 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,


Reply With Quote
Posts: n/a
patbaudy wrote on 16 mei 2005 in microsoft.public.inetserver.asp.general:

> response.Cookies("order")(CStr(OrderSetNumber))("c ombo") = combo

response.Cookies(a)(b)(c) is not defined

response.Cookies(a)(b) is.


The Netherlands.
(Replace all crosses with dots in my emailaddress)

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Give Request.Cookies and Response.Cookies is there any reason to use another method to use cookies? _Who ASP .Net 7 09-18-2008 07:49 PM
What's the proper way of reading cookies? Request.Cookies("mycook") doesnt work user ASP .Net 3 03-31-2007 01:53 PM
Response.Cookies vs Request.Cookies Alex Nitulescu ASP .Net 1 02-03-2005 09:43 AM
Persistent Cookies vs. session cookies Andy Fish Java 3 11-06-2003 10:44 AM
Good Cookies bad Cookies? AK Computer Support 23 10-26-2003 05:20 AM