Actually, it shouldn't be a const because it's not always the
case that it may come from a const pointer. In fact, when the
session is closed it should be freed as well.
If you're getting errors, you should probably be strdup()ing
what you're passing it instead.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=76242
Actually, it shouldn't be a const because it's not always the
case that it may come from a const pointer. In fact, when the
session is closed it should be freed as well.
If you're getting errors, you should probably be strdup()ing
what you're passing it instead.