View Single Post
  #5 (permalink)  
Old August 22nd, 2004, 06:38 AM
Imar's Avatar
Imar Imar is offline
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

I don't think much can be done about this. Since Session_Start fires without any user interaction, you cannot ask them to "hold" or try again.

What you could do is not write to the file directly, but queue up the information in Application state, for example. Then when you've queued 20 users, write them to file at once. That way, only for every 20 (just an example) users do you have to write to the file.

What's wrong with using a database?

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.