0

We know http's cookie and session. But I still have two questions:

Whether cookie must use with session?

if Client user do not login, the Server will not create session, right?

244boy
  • 3,994
  • 8
  • 30
  • 72

1 Answers1

0

When the client login you should create set new cookies on the session based on the strategy you wish to mange it, for example session-cookies erase once the tab is closed. "if Client user do not login, the Server will not create session, right?" - It depends on your server, some servers creates cookies explicitly upon request.

Itsik Mauyhas
  • 3,163
  • 7
  • 48
  • 93