Hi guys,
i have to send emails when a person recieves a personal message on my website and for that i use a StringBuilder to create the HTML markup of the email.
also since it is required at many other places as well i have made a Shared Fucntion (i am using VB.NET). now my only concern is that since shared functions are shared among all objects and maybe asp.net sessions, can it be possible that before one person email is being formed and another person access the same function, it would cause the data in the stringbuilder to be overwritten..
currently my site doesn't have many users but can this become an issue in the future...please advise me on this...is there any better way or standard procedure to follow when using shared functions.
also at one time i made the mistake of using a shared connection object and it would cause close if many people were to access it