Welcome! Log In Create A New Profile

Advanced

search headers_in

sv
September 13, 2011 12:04PM
I am starting to write a new module that uses a header token. I have
searched google for the answer about "how to seach in headers for a
name. I want to search for "X-session-token". I am surprised that
there is not a library function that just does the search,

As I understand it now every module that wants to search for a header
writes it own search function?
Is there a "library search function"?

once I have the session token I use memcached in the PREACCESS phase to
load the session info, then in the ACCESS phase check the access permission.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

search headers_in

sv September 13, 2011 12:04PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 292
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready