How to get user name from http header?

This is a discussion on How to get user name from http header? within the lotus-notes-programmer forums in Other Technologies category; I am trying to get the user login from the http header. I have tried @GetHTTPHeader( Authorization ) but it returned Authorization: Basic Z2FuZGFsZjp0aGUtd2l6YXJk. Any Domino functions that would decrypt it or any ohter methods that I can use to get the user login? Thanks....

Go Back   Database Forum > Other Technologies > lotus-notes-programmer

Database Forums

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 02-04-2004, 07:22 PM
Default How to get user name from http header?

I am trying to get the user login from the http header. I have tried
@GetHTTPHeader("Authorization") but it returned Authorization: Basic
Z2FuZGFsZjp0aGUtd2l6YXJk. Any Domino functions that would decrypt it
or any ohter methods that I can use to get the user login?

Thanks.
Reply With Quote
  #2  
Old 02-07-2004, 08:35 AM
Default Re: How to get user name from http header?

"rp" wrote in message
news:92543931.0402041521.d1c7f30-at-posting.google.co m...
> I am trying to get the user login from the http header. I have tried
> @GetHTTPHeader("Authorization") but it returned Authorization: Basic
> Z2FuZGFsZjp0aGUtd2l6YXJk. Any Domino functions that would decrypt it
> or any ohter methods that I can use to get the user login?
>
> Thanks.


In an agent, you can get UserName as a session property, in a form you can
get it from a cgi variable.


--

Neill Laney
http://www.laneyconsulting.com


Reply With Quote
  #3  
Old 02-10-2004, 09:38 PM
Default Re: How to get user name from http header?

You need to user http_remoteuser to get the username. This is the CGI
variable.


"rp" wrote in message
news:92543931.0402041521.d1c7f30-at-posting.google.co m...
> I am trying to get the user login from the http header. I have tried
> @GetHTTPHeader("Authorization") but it returned Authorization: Basic
> Z2FuZGFsZjp0aGUtd2l6YXJk. Any Domino functions that would decrypt it
> or any ohter methods that I can use to get the user login?
>
> Thanks.
>



Reply With Quote
Reply


Thread Tools
Display Modes



All times are GMT -4. The time now is 08:09 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Integrated by bbpixel2009 :: jvbPlugin R1013.368.1

Search Engine Friendly URLs by vBSEO 3.1.0
vB Ad Management by =RedTyger=
In an effort to better serve ads to our visitors, cookies are used on Mydatabasesupport.com. For more information, check out our Privacy Policy.