I'm a beginner in php..
can any one explain cookies & sessions in an easy way for me?
i have surfed different sites for it also i have taken many trainings but yet i m not that much clear about these two concepts... kindly help me out !

Cookies persist on your local computer, they are small text files that are stored there by websites and web applications that contain some basic information about you as a user.

Sessions are application specific and persist only as long as you are actively engaged with a particular web site. For instance if you leave Amazon.com open do some shopping, then close the web browser before making any purchases, your session has ended, however the cookie that identifies your username still exists on your local computer.

http://wiki.answers.com/Q/What_is_the_difference_between_session_and_cookies

If you have more specific questions about cookies and sessions we can answers those for you.

i got it :)..
thanks all of you :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.