ALLInterview.com :: Home Page KalAajKal.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  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
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
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
What is cookie less session? How it works?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is cookie less session? How it works?
Answer
# 1
If cookies is not supported then  cookieless sessions is 
the best option. If you set the cookieless attribute of the 
sessionState element to "true" in your web.config, you will 
notice that sessions still work perfectly when invoking 
your Web methods using the browser interface.Code for using 
cookiless session is:(.aspx code)

<html><head><title>Object moved</title></head><body> 
<h2>Object moved to <a href='/HttpSessionState/
(l2z3psnhh2cf1oahmai44p21)/service1.asmx'>here</a>.</h2> 
</body></html>

Code for using cookiless session is:(aspx.cs code)

[WebMethod(EnableSession=true)]
public bool Login(string user, string pwd)
{
    Session["extuser"] = user;
    return true;
}

[WebMethod(EnableSession=true)]
public String getUser() 
{
    return Session["extuser"].ToString();
}
 
Is This Answer Correct ?    4 Yes 4 No
Shalini
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
Why Web Services?  1
how can i am search the data from database? just like google  2
In a webpage if i want to give access to only half page ,then what should i do?  3
What is boxing? How we can use it? NIIT2
What are the data types is possible to store in session? and can we store dataset in session? eMids4
What are the disadvantages of viewstate/what are the benefits  3
Suggest 3 best practices in detail for for Developing High Performance Web and Enterprise Applications Techno-Solutions2
You have been given the task of designing a web services to expose the data that is stored in a database on the server. In order to successfully build the web services, you need to import some namespaces. What is the minimum namespace you need to import? a) System.Web b) System.WebServices c) System.Web.Services d) System.Web.ServiceModel Syntax-Softtech2
I am having four text boxes in my web application. I am setting Required Field validator to each Text box. And I am having two buttons in my application. If i clicked the first button only first two text box validation will get fire. Dont show error message for remaining two text box. If i clicked second button last two text box validation will get fired. It will not consider the first two validation controls. That is how to enable and disable the validation controls.  4
What?s a bubbled event?  1
what is CTS? PrimeLine3
What is the Global.asax used for?  3
What is the difference between and ActiveX dll and control ? Microsoft1
Types of configuration files and their differences ? Accenture1
How many types of page. TCS5
Explain the differences between Server-side and Client-side code? Visual-Soft6
write a sample code make use of xmltext writer GCI1
how to increase performance of web site? if there is a page with high load. the content is high then what should we do to increase performance? TCS2
To make Cache item dependent on a file,directory or other cached item ,you should create an instance of which clause?  1
With out Web.config can we executes the application? Valtech6
 
For more ASP.NET Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

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