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

Tell me what are the functions to be used to get the image's properties (size, width and height)?

1041


What is local variable in php?

988


What is composer phar?

1002


How to track no of user logged in?

1020


Explain me soundex() and metaphone()?

991


How do I check if a given variable is empty?

944


Why do we use in php?

994


Is php pass by reference or value?

1113


How to access a Static Member of a Class in PHP?

1042


Explain converting an object?

1020


What is basic php?

1050


Does browser understand php?

949


Which is the correct way to check if a session has already been started ?

991


How do I escape data before storing it in the database?

994


What does php mean?

986