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
What is final in php?
What is good average session duration?
What is data abstraction in php?
What are the encryption techniques in php?
What is split function in php?
What is the difference between php 5 and php 7?
What are the characteristics of php?
Is php free to use?
Which will check if a function exists?
What is member variable?
What are getters and setters php?
What is an operator in php?
How to check a key exist in an array?
Can we run php on tomcat server?
What are php parameters?