• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

quick question about magic cookie

 
Jonathan Elkharrat
Ranch Hand
Posts: 170
Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
as far as i could understand from the instruction, there's no connection
between the magic cookie and the lock cookie.
while the former is used to identify the data format (i think so ) the
latter is a random number assigned uniquely to clients. am i right?

 
Roel De Nijs
Sheriff
Posts: 10662
144
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Correct!

You can use a constant to verify the magic cookie and see if your database file is a valid one (based on the cookie). The lock cookie is used to uniquely identify clients.
 
Roberto Perillo
Bartender
Posts: 2271
3
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Roel De Nijs wrote:You can use a constant to verify the magic cookie and see if your database file is a valid one (based on the cookie). The lock cookie is used to uniquely identify clients.


That's what I did!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic