Click here to Skip to main content
15,885,244 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionavoid running function in page load event of user control inside a page with in master page Pin
uglyeyes29-Apr-12 2:23
uglyeyes29-Apr-12 2:23 
AnswerRe: avoid running function in page load event of user control inside a page with in master page Pin
Rahul Rajat Singh29-Apr-12 22:44
professionalRahul Rajat Singh29-Apr-12 22:44 
GeneralRe: avoid running function in page load event of user control inside a page with in master page Pin
uglyeyes30-Apr-12 2:37
uglyeyes30-Apr-12 2:37 
GeneralRe: avoid running function in page load event of user control inside a page with in master page Pin
uglyeyes3-May-12 16:43
uglyeyes3-May-12 16:43 
QuestionHelp in processing querystring sent using jquery to asp page. Pin
ljpv1428-Apr-12 0:24
ljpv1428-Apr-12 0:24 
AnswerRe: Help in processing querystring sent using jquery to asp page. Pin
Ali Al Omairi(Abu AlHassan)29-Apr-12 0:26
professionalAli Al Omairi(Abu AlHassan)29-Apr-12 0:26 
AnswerRe: Help in processing querystring sent using jquery to asp page. Pin
ZurdoDev30-Apr-12 10:42
professionalZurdoDev30-Apr-12 10:42 
QuestionA session handling problem (need experts' advise) Pin
Rahul Rajat Singh27-Apr-12 22:49
professionalRahul Rajat Singh27-Apr-12 22:49 
OK before asking the real question, I will give a brief overview. There was a site which was running on a single web server. This site was using in-proc session for keeping track of some important information(very crucial).

After a couple of years the website was getting a lot of traffic(around a couple of millions per day) and all these hits are actually doing some DB operations on the site. So to keep the performance the single server was replaced by a server farm. Now there are 5 servers sitting behind a load-balancer.

Now the problem: Earlier when only one server was being used all the session handing was in-proc. Now in the server farm scenario, we cant expect it to work properly. We will have to have SqlServer or stateSercer in place. The problem in doing this is that there are lots and lots of classes, collections and generics being pushed into the session. If we want to use any of the above two we will have to make everything put in session serialize-able(which would mean a lot of rework and most importantly it will take time).

Now I was thinking that till these session objects are getting changed(to become serializable), I will do something at the load-balancer to redirect requests coming from an IP to the same server always so that the in-proc session will keep working for the time being. i.e. load balancer will keep a map like [requesting IP - web server]

The question here is, Am i going in the right direction or there are some problems I could not foresee? Is there any other way I could have things working with in-proc session for a couple of months(having something done on load-balancer)

Experts, please suggest. Shall I go with this IP-server mapping or is there any other way this could be done more elegantly?

[EDIT] Why Am I being downvoted here? Is this not the right question or AM I asking it in the wrong forum? [/EDIT]
AnswerRe: A session handling problem (need experts' advise) Pin
Parwej Ahamad27-Apr-12 23:31
professionalParwej Ahamad27-Apr-12 23:31 
GeneralRe: A session handling problem (need experts' advise) Pin
Rahul Rajat Singh29-Apr-12 19:52
professionalRahul Rajat Singh29-Apr-12 19:52 
AnswerRe: A session handling problem (need experts' advise) Pin
ZurdoDev30-Apr-12 10:44
professionalZurdoDev30-Apr-12 10:44 
GeneralRe: A session handling problem (need experts' advise) Pin
Rahul Rajat Singh30-Apr-12 17:07
professionalRahul Rajat Singh30-Apr-12 17:07 
GeneralRe: A session handling problem (need experts' advise) Pin
ZurdoDev1-May-12 1:58
professionalZurdoDev1-May-12 1:58 
Questionweb app 2010 deploy Pin
dcof27-Apr-12 17:23
dcof27-Apr-12 17:23 
AnswerRe: web app 2010 deploy Pin
Parwej Ahamad27-Apr-12 23:41
professionalParwej Ahamad27-Apr-12 23:41 
GeneralRe: web app 2010 deploy Pin
dcof28-Apr-12 4:23
dcof28-Apr-12 4:23 
QuestionStylesheet to print the background-image on the web page Pin
indian14327-Apr-12 12:02
indian14327-Apr-12 12:02 
Questionhow authenticate aspnet using SQLSERVER Pin
alsayani27-Apr-12 5:46
alsayani27-Apr-12 5:46 
AnswerRe: how authenticate aspnet using SQLSERVER Pin
Joshua Omundson27-Apr-12 11:09
Joshua Omundson27-Apr-12 11:09 
GeneralRe: how authenticate aspnet using SQLSERVER Pin
alsayani27-Apr-12 23:54
alsayani27-Apr-12 23:54 
AnswerRe: how authenticate aspnet using SQLSERVER Pin
Joshua Omundson3-May-12 6:09
Joshua Omundson3-May-12 6:09 
Questiondeveloping a secure asp.net application? Pin
Alok Sharma ji27-Apr-12 0:00
Alok Sharma ji27-Apr-12 0:00 
AnswerRe: developing a secure asp.net application? Pin
R. Giskard Reventlov27-Apr-12 11:17
R. Giskard Reventlov27-Apr-12 11:17 
QuestionOnline book store Project Pin
Suraj Menon26-Apr-12 17:30
Suraj Menon26-Apr-12 17:30 
AnswerRe: Online book store Project Pin
Blue_Boy26-Apr-12 22:06
Blue_Boy26-Apr-12 22:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.