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 can we enable error reporting in php?

1090


Does php have future?

1025


Which operator is used to concatenate two strings in PHP?

1084


Can we override static method in php?

1144


Tell me how is it possible to return a value from a function?

1066


what is constructor

1666


What is php and sql?

1174


How to execute a function in php?

988


Is php is dying?

1003


can we swap two different string using php for example:-- before swapping:-- 1 string :-hello friend, 2 string :-my dear, after swapping that strings will be: 1.hello dear, 2.my friend.

3596


How do I stop a php script?

1015


How to replace a substring in a given string in php?

1122


What are the special characters you need to escape in double-quoted stings?

1130


What is escaping to php?

1018


Tell us how to set cookies in php?

976