Strange problem with ASP / MAC

Results 1 to 2 of 2

Thread: Strange problem with ASP / MAC

  1. #1
    Join Date
    Dec 1969

    Default Strange problem with ASP / MAC

    After submitting a form, the form info is sent to an asp page that does various things (I won&#039;t bore you with all the details). One of the form elements that is sent to the asp page is a hidden field containing a number - this number can be anything between 1 and 8. On my asp page, one of the lines of code is:<BR><BR>s_id = Cint(request.form("s_id"))<BR><BR>This all works absolutely fine until someone using a MAC computer submits the form - they get an error. This form is being submitted without any problems 100s of times a day but the odd MAC user gets the following error:<BR><BR>Microsoft VBScript runtime error &#039;800a000d&#039;<BR>Type mismatch: &#039;Cint&#039;<BR><BR>It says it gets this error on the line of code I&#039;ve written above. Does anyone have any idea why this happens for mac users and what can I do to get around this problem.<BR><BR>Thanks in advance

  2. #2
    Join Date
    Dec 1969

    Default RE: Strange problem with ASP / MAC

    Not sure why, but then IMO Macs are always trouble.<BR><BR>Try using Clng() instead of Cint()

Posting Permissions

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