Thank you for your quick answer.
Yes I save all user data in the SQL Server. But my program does not reach this point and therefore I stored the user input in sessionvars to find the reason of the errors. But when I enter the same data I never get an error. So I persume that it happens only when many users are using my programs at the same second and I was asking for hints for developing ASP apps for multiuser.
The errors are different. This is only 1 example:
Error message:
Error Number: -2146828279
Error File: /bingo.asp
Line Number: 242
Index auÃerhalb des gültigen Bereichs: '[number: -1]' (index outside the range)
Querystring: thema=11+%2F+26&thema1=0&level=3&grad=1&checkbox1= 1&Spieler=&SpielNr=0
The relevant code:
Code:
ok = 0
do while ok < level*level
Dummyzahl = Int(Rnd - 89098)
Randomize
rec = Int((x) *Rnd + 1) if fertig(rec-1) = 0 then // this is line 242
ok = ok +1
fragen(ok,1)=alle(rec-1)
fragen(ok,2)=typen(rec-1)
fragen(ok,3)=0
fragen(ok,4)=rec
fertig(rec-1)=1
end if
loop
When I enter the same data I never get an error and the variable x is always 32.
So I suspect, that the variables are jumbled when many users access at the same moment.
I am desparate because when I test my programs everything works fine. But now many users are playing my games and I get a lot of error mails every day and I do not know what to do. I learned ASP 12 years ago by myself and maybe I never learned programming for many users....
Please apologisze my bad English. Thanks for your help!
Greetings from Austria
Uwe