setting a "cookie" with the "valid-user" option...

setting a "cookie" with the "valid-user" option...

Post by grahamwoo.. » Thu, 06 Apr 2000 04:00:00



Hi guys,

Apache: 1.3.9
OS: RedHat Linux 6.1
Perl: 5.005_03

I would like to attempt the following:
Setting a "Cookie" when the user gets
authenticated from the
AuthType/AuthUserFile/AuthName option.

I do have the "secured section" up and get
authenticated just fine.
I also set up the "CookieTracking on"
and "CookieName name", which "name" is in the
cookie.

With this, I get for a cookie is the IP/hostname
+ some numbers. Which is a good start, but I
actually want the username the person used to get
in to be the value of "name"

I know I am close, but I am not sure how to link
the two together?
I know this can be done.. I just some ideas...

So again, I have both sides of the puzzle working
just fine, I just need the user name of which
they were authenticated with to be
the "name=xxxxx" in my CookieName value...

Thanks guys!

-Graham Wooden

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

1. Setting HTTP cookies with the Apache "valid-user" option...

Hi guys,

Apache: 1.3.9
OS: RedHat Linux 6.1
Perl: 5.005_03

I would like to attempt the following:
Setting a "Cookie" when the user gets authenticated from the
AuthType/AuthUserFile/AuthName option.

I do have the "secured section" up and the authentication process is
working
just fine.
I also set up the "CookieTracking on" and "CookieName name",
which "name" is
in the cookie.
Retrieving the cookie is working beautifully as well...

With this, what I get for a cookie is the IP/hostname + some numbers.
Which is a good start, but I actually want the username the person used
to
get in to be the value of "name"

I know I am close, but I am not sure how to link the two together?
I know this can be done.. I just need some ideas...

So again, I have both sides of the puzzle working just fine, I just
need the
user name of which they were authenticated with to be the "name=xxxxx"
in my
CookieName value...

Thanks guys!

-Graham Wooden.

Sent via Deja.com http://www.deja.com/
Before you buy.

2. configure retrain

3. GETSERVBYNAME()????????????????????"""""""""""""

4. 2.2 and 2.4 performance issues

5. """"""""My SoundBlast 16 pnp isn't up yet""""""""""""

6. dip3.3.7i and Slackware 2.10 setup

7. Type "(", ")" and "{", "}" in X...

8. mouse wheel doesn't work

9. My linux+Apache+mod_perl cannot recognize"print "Set-Cookie: cookie-name = Unique; "

10. "umsdos" vs "vfat" vs "looped ext2"

11. "Novell-like","non-TCP/IP","networking" OS to place Unix

12. "netstat -nr" should show "default" or "0.0.0.0"?

13. "write" "to" "flon" commands