mercredi 29 septembre 2021

Access cookie with C (CGI)

I am entirely confused right now. I just cannot find a solution on how i can access cookies purely with C(CGI) without javascript. Is this even possible? Is there anyway i can pass cookie data to stdin or something else so my programs can access it?

I need to do this for authentication purposes, i need to know what user is currently logging out so i can forbid him access to some pages until he logs in again.

My pages are dynamically generated without javascript.

Thank you very much for your time!




Aucun commentaire:

Enregistrer un commentaire