Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the difference between cookies and session?

Answer Posted / kayal

The main difference between cookies and sessions is that cookies are stored in the user's browser, and sessions are not. A cookie can keep information in the user's browser until deleted. Sessions work instead like a token allowing access and passing information while the user has their browser open. The problem with sessions is that when you close your browser you also lose the session. I have read the very good post on cookies and sessions with suitable php code.You can see that on
http://cs-pages.blogspot.com/2011/05/difference-between-cookies-and-sessions.html

Is This Answer Correct ?    12 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does protected internal access modifier mean?

1035


What is the benefit of interface in c#?

890


What are tuples c#?

931


How is lazy loading achieved?

869


Explain the concepts of cts and cls(common language specification).

915


Is it possible to nest cfml conditional tags?

857


What are most desktop applications written in?

901


What are All kind of access specifiers for a class and for methods

1005


Is it possible to inline assembly or il in c# code?

963


What is difference between encapsulation and abstraction in c#?

900


What is iqueryable and ienumerable in c#?

902


What is null propagation c#?

934


Explain About multi level and multiple inheritance how to achieve in .net

979


Which one is trusted and which one is untrusted?

870


Is c# different than c++?

837