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?

user7693832
  • 6,119
  • 19
  • 63
  • 114

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,824
  • 14
  • 69
  • 114