Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Session Cookie creation

Posted on 2014-02-24
4
Medium Priority
?
202 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 84

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 84

Accepted Solution

by:
Dave Baldwin earned 2000 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 84

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

Enroll in October's Free Course of the Month

Do you work with and analyze data? Enroll in October's Course of the Month for 7+ hours of SQL training, allowing you to quickly and efficiently store or retrieve data. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses

604 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