Read cookies created in ASP.Net using vbscript

C

csgraham74

Hi guys,

I am writing an application in asp.net but im attempting to write some
client side validation. I have most of this working but i am having
trouble reading cookies set in asp.net using vbscript on the client
side. Luckily im in a controlled browser environment therefore i can
use vbscript. I understood that all cookies were client side - i
therefore dont understand why i cant read them.

i have tried the following code but it just doesnt work correctly
msgbox(<%=Request.cookies("ClientCode")%>)

error message
Microsoft VBScript runtime error: Object required: 'System'

Any help appreciated

thanks

CG
 

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

Forum statistics

Threads
473,982
Messages
2,570,186
Members
46,740
Latest member
JudsonFrie

Latest Threads

Top