Welcome! Log In Create A New Profile

Advanced

search headers_in?

sv
September 13, 2011 09:12PM
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-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

search headers_in?

sv 2153 September 13, 2011 09:12PM

Re: search headers_in?

agentzh 894 September 13, 2011 11:08PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 317
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready