Cookie problem?

Results 1 to 2 of 2

Thread: Cookie problem?

  1. #1
    Join Date
    Dec 1969

    Default Cookie problem?

    Please can somebody tell why this line doesnt work on the server and works great on my pws <BR>at home???<BR><BR>intUsersPoll = Request.Cookies("UserCurrentPoll")<BR><BR>Here s the error it gives me:<BR><BR>Microsoft VBScript runtime error &#039 800a000d&#039 <BR><BR>Type mismatch: &#039[string: ""]&#039 <BR><BR>HELP!!!<BR><BR>Maybe the cookie doesn exist at that time?<BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Cookie problem?

    well - it would seem you&#039re trying to use the result pulled out of the cookie as an integer.<BR><BR>try CInt()ing it before using it<BR><BR>j

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts