C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




COOKIE MUNGING


Posted Date: 27 Sep 2006      Total Responses: 1

Posted By: Anil Kumar Sharma       Member Level: Gold     Points: 2


FOR SHARING THE TOPIC
JUST FOR UOR KNOWLEDGE ENHANCEMENT
GET MORE ON GOOGLE




Responses

Author: manas ranjan meher    27 Sep 2006Member Level: SilverRating:     Points: 2
You may wish to configure your applications to use session state without relying on cookies. There could be several reasons for this:

1. You need to support old browser types that do not support cookies.
2. You wish to cater for people who have chosen to disable cookie support within their browser.
3. Certain types of domain name redirection mean that cookies / conventional state management will not work.

Cookie munging causes information regarding the session state id to be added to URL information. Thus the link between client and session data on the server is maintained.

It is simply enabled, as follows:
<configuration>
<system.web>
<sessionState cookieless=”true” />
</system.web>
</configuration>

If you change your web.config file to the above and then view a page which uses both the session object and postback you’ll see ASP.Net has inserted some extra information in the URL of the page. This extra information represents the session ID.

Cookie munging certainly does the job in instances where it is required but should be avoided where it is not, as it is insecure being susceptible to manual manipulation of the URL string.


Post Reply
You must Sign In to post a response.
Next : replace string
Previous : write select statement in sqlserver
Return to Discussion Forum
Post New Message
Category: .NET

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design

web conferencing services

Contact Us    Privacy Policy    Terms Of Use