ALLInterview.com :: Home Page Forum9.Com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage   interview questions urls   External Links  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories >> Software >> Microsoft-Related >> ASP.NET
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
Question
Can we change the session timeout in ASP.NET, if yes then
how and from where?
 Question Submitted By :: Mehsam
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Can we change the session timeout in ASP.NET, if yes then how and from where?
Answer
# 1
The session in my application often gets expired.

I've tried giving session timings both
in the page directive of the page
as well as
 
Is This Answer Correct ?    0 Yes 0 No
Saminathan
 
  Re: Can we change the session timeout in ASP.NET, if yes then how and from where?
Answer
# 2
Hi All,

Have u set any time limit in the web.config file if not 
then set like this
           mode="InProc"
           stateConnectionString="tcpip=127.0.0.1:42424"
           sqlConnectionString="data 
source=127.0.0.1;Trusted_Connection=yes"
           cookieless="false" 
           timeout="20" 
   />
 
Is This Answer Correct ?    1 Yes 0 No
Sabeer Pasha
 
 
 
  Re: Can we change the session timeout in ASP.NET, if yes then how and from where?
Answer
# 3
By default session time out is 20 minutes but one can 
change it. there are two ways to change the sessiontime out 
in asp.net that is:-


1) from web config. file by setting the session timot 
element eg.
<sessionstate timeout="60"/>

or
2) by doing programtically eg.
session.timeout=60
 
Is This Answer Correct ?    1 Yes 0 No
Narinder Mahindru
 
  Re: Can we change the session timeout in ASP.NET, if yes then how and from where?
Answer
# 4
Yes ofcourse. There are few steps which needs to be 
followed. Pls. visit this link to have a beautiful 
explaination...
http://support.yessoftware.com/kb_article.asp?
s_keyword=.gif&s_prod=&kb_articlesPageSize=10&s_type=&order_
by=Freshness&s_cat=&article_id=74


Aziz...
 
Is This Answer Correct ?    0 Yes 0 No
Mohammad Aziz
 
  Re: Can we change the session timeout in ASP.NET, if yes then how and from where?
Answer
# 5
yes go to change webconfig session timeout.
 
Is This Answer Correct ?    0 Yes 0 No
Guest
 
 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
Is data can be edited in the Repeater control?  2
What are the different authentication modes in the .NET environment?  2
Contrast the use of an abstract base class against an interface?  4
can i use two web.config files of ConnectionString in One Default.aspx page Verinon-Technology-Solutions4
Hi , I am Basha. I am searching a job in dotnet.Plz tell me the order of page events in asp.net 2.0> plz send faq's related to c#.net,asp.net,sqlserver2000 etc. to my mail-id : bashask.ss@gmail.com Sapient4
Name the control which can be used to reserve the space on web page for storing localized data. IBM1
How do you do validations. Whether client-side or server-side validations are better.? Microsoft3
Types of session management in ASP.NET? Microsoft1
Features in ASP.NET? Microsoft2
What is CTS, CLS and CLR ? TCS2
what are the types of ASP objects ? Satyam4
To call a Web service SOAP which transport protocol you use?  2
Hi, I am developing an application (quiz engine) using C# in Dot net. My problem is I am designing the selction option using radio button. So, I want to retrive the data from the database to the radiobutton option. And also please tell me the how to compare the correct answer option with Answer selected by the users. If any body knows or have done this before please Help me out. My mail id is get_rome@yahoo.co.in. Table format: Question Id Queston Option1 Option 2 Option 3 Option 4 Correct answer 1 What is ur name? My name is ….. My name …. My name …. My name …. My name is tom  1
What are different ASP.NET Web Forms with the technology different from though ASP (1.0-3.0)?  1
What are runtime hosts? Microsoft3
True or False: To test a Web service you must create a windows application or Web application to consume this service?  1
What is the roll of JIT in asp.net?  4
One Listbox showing all cities. If you select one city in list box the information related to that particular city should be displayed in Datagrid . How do you do that? HCL3
How to Deploy a project?  2
How to remove themes from certain controls?  1
 
For more ASP.NET Interview Questions Click Here 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com