Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Whether session will work if we disable cookies in client
browser ?

Answer Posted / sandip gend

Yes..
If you want to disable the use of cookies in your ASP.NET application and still make use of session state,
you can configure your application to store the session identifier in the URL instead of a cookie by setting the
cookieless attribute of the sessionState configuration element to true, or to UseUri, in the Web.config file for
your application.
The following code example shows a Web.config file that configures session state to use cookieless session
identifiers.

Code:
<configuration>
<system.web>
<sessionState
cookieless="true"
regenerateExpiredSessionId="true"
timeout="30" />
</system.web>
</configuration>

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of inheritances used in php and how we achieve it.

898


How to receive a cookie from the browser?

1037


Why do we use polymorphism in php?

960


What is the role of php.ini file?

943


How long is session timeout?

939


Write down the code for save an uploaded file in php.

925


How to convert strings to upper or lower cases?

963


How to create a web form?

975


What is __ construct in php?

958


What version of php do I have windows?

876


What is a query give example?

925


What are psrs?

1027


What is the use of ajax in php?

935


What does php exit do?

946


What are string functions?

887