Cookies and Sessions


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Cookies and Sessions

Hybrid View

  1. #1
    Join Date
    Nov 2005
    Posts
    1

    Red face Cookies and Sessions

    Hi,
    Can any tell me the exact difference between cookie and session

    I know that Session tracking is dealt with 3 concepts
    1. Cookies
    2. Url rewriting
    3. hidden fields

    and we r creating a HttpSession session=req.getSession(true)
    is it session or cookie
    and after creating this, where is it stored( either in webservet or client m/c)
    bye

  2. #2
    Join Date
    Nov 2005
    Posts
    9

    Hi

    Hi

    Session is same like temporary variable. Session is used to keep track of user's. Session will be stored in client machine. Application variables are stored in server. Session will be deleted if user closes the browser window.

    Cookies is a small file stored in temporary internet folder. It is used to store some information on client machine. It's size will be maximum 4kb

    Navaneeth

Similar Threads

  1. asp sessions
    By janardhan in forum ASP.NET
    Replies: 1
    Last Post: 05-07-2002, 06:21 AM
  2. ASP - sessions with cookies disabled
    By Markus Punz in forum Web
    Replies: 0
    Last Post: 09-17-2000, 06:27 AM
  3. ASP - sessions with cookies disabled
    By Markus Punz in forum ASP.NET
    Replies: 0
    Last Post: 09-17-2000, 06:26 AM
  4. ASP - sessions without cookies
    By Markus Punz in forum ASP.NET
    Replies: 1
    Last Post: 06-28-2000, 03:57 AM
  5. Sessions or Cookies, Arrays or Dictionary Objects?
    By T. Bradley Dean in forum ASP.NET
    Replies: 3
    Last Post: 05-31-2000, 12:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center