Suppose, I have 3 pages, Page1.aspx, Page2.aspx, Page3.aspx.
All pages are in diff. server. When user req. for a page,
Page1.aspx opens Ist & a session established. If user req.
for IIn page, second session established. Similarly, 3rd
session established if user req. 3rd page. In this scenario,
tot. 03 sessions are established. How we can minimize it so
that it will work with only one session?

Answers were Sorted based on User's Feedback



Suppose, I have 3 pages, Page1.aspx, Page2.aspx, Page3.aspx. All pages are in diff. server. When us..

Answer / ttk

OUT PROC:Maintain the session in the SQL server.

Is This Answer Correct ?    5 Yes 3 No

Suppose, I have 3 pages, Page1.aspx, Page2.aspx, Page3.aspx. All pages are in diff. server. When us..

Answer / ashish chaturvedi

create a common Application object for 3 pages in place of 3
different session IDs

Is This Answer Correct ?    3 Yes 3 No

Suppose, I have 3 pages, Page1.aspx, Page2.aspx, Page3.aspx. All pages are in diff. server. When us..

Answer / manish acharya

Use Session State, put it in SQL server mode.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

Does JITting occur per-assembly or per-method? How does this affect the working set?

1 Answers  


What tags do you need to add within the asp:datagrid tags to bind columns manually? Give an example.

0 Answers  


How can we make sure that Web API returns JSON data only?

0 Answers  


What is the use of session in web application?

0 Answers  


Explain Features in ASP.NET

0 Answers   Microsoft,






What benefit does your code receive if you decorate it with attributes demanding specific Security permissions?

2 Answers  


What property must you set, and what method must you call in your code, in order to bind the data from a data source to the Repeater control?

1 Answers   Siebel,


which is best possible way to add data source to data grid when the data is huge(10 lack recored)how to edit a perticular row

3 Answers   Airtel, Aviva,


What is application variable in asp.net?

0 Answers  


Every Validation controls have same option ?

2 Answers   iGate,


Where would you use an iHTTPModule, and what are the limitations of any approach you might take in implementing one?

1 Answers  


I have one application, one user purchase some products in my application? and another person came he is also purchase some products?how can we identify which user purchase which items? my answer is by using session id? but i dont know how? can u give me programming for that?

1 Answers  


Categories