global.asa trouble!!!!

Results 1 to 3 of 3

Thread: global.asa trouble!!!!

  1. #1
    Brian Smyth Guest

    Default global.asa trouble!!!!

    I seem to have a problem with my global.asa file. It looks as if I am not accessing it at all yet it is in the correct directory. I get a "Type mismatch" error when I try to use session variables declared in global.asa.<BR>Please help if you can<BR> Thank you.

  2. #2
    Join Date
    Dec 1969

    Default RE: global.asa trouble!!!!

    What type of variable are you trying to access from your global.asa.<BR><BR>For example, <BR><BR>Session("defaultNumber") = 3<BR><BR>Then later on, if you try to do a ...<BR><BR>For x = 1 To Session(defaultNumber")<BR><BR>You would get the error you described. Try doing a CInt(Session("defaultNumber")), and that should work.<BR><BR><BR>HTH<BR><BR>Jerry

  3. #3
    Brian Smyth Guest

    Default RE: global.asa trouble!!!!

    Thanks for the reply, I&#039ll try it out, but I&#039m getting kicked out of lab now , talk again tomorrow.

Posting Permissions

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