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

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top