Solved

Session Cookie creation

Posted on 2014-02-24
4
188 Views
Last Modified: 2014-02-24
How are Session Cookies created? As a web developer you don't  write code to create them. They are created automatically correct?

If automatically, how so? What creates them?
0
Comment
Question by:metro156
  • 3
4 Comments
 
LVL 82

Expert Comment

by:Dave Baldwin
ID: 39883385
Normally, the IIS web server creates a 'session cookie' for any page request where one is not already set.  Although this page is about older versions of IIS, it has the basic info: http://support.microsoft.com/kb/244465/EN-US   You can find a lot more detailed info about newer versions and setting the 'parameters'.
0
 

Author Comment

by:metro156
ID: 39883411
Can you modify a session cookie?
0
 
LVL 82

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 39883514
I suppose you can.  But, since the purpose of the cookie is to identify a session, if the web server encountered a modified cookie that didn't correspond to a current session, it would overwrite it on the next page request.  This is what the info for a session cookie looks like.
ASP Session Cookie
0
 
LVL 82

Expert Comment

by:Dave Baldwin
ID: 39883536
If it's the session data you want to modify, that is not in the cookie.  That is in the files on the server that are identified by the info in the cookie.  If you save info in session variables and then change the Content in the session cookie, you will loose the info in the session variables because the session id will be wrong.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now