.net - System.Threading multiple users -
i have been asked add splash page old asp website written in vb.net
this external facing website accessed thousands of people per day.
i have added following methods on click events of link buttons:
protected sub linkwelsh_click(byval sender object, byval e system.eventargs) handles linkwelsh.click thread.currentthread.currentuiculture = new cultureinfo("hi-in") response.redirect("~/content/mainpageone.aspx") end sub protected sub linkenglish_click(byval sender object, byval e system.eventargs) handles linkenglish.click thread.currentthread.currentuiculture = new cultureinfo("en-gb") response.redirect("~/content/mainpageone.aspx") end sub
upon testing works fine, , allows me browse beyond mainpageone
language consistent.
however, question is...
if have 100 users simultaneously, , 1 of them clicks welsh link on splash page, ui culture change made current thread relate them, i.e. each new user thread , therefore changing current thread mean going affect them.
or there potential thread change affect other themselves.
apologies if stupid question not familiar system.threading
class when dealing multiple users.
Comments
Post a Comment