>From my prior faltering with global's and nsv, can I do something like this:

top of my .adp files:

<% [make_userid_global $conn] %

in utils.tcl

proc make_userid_global {conn} {
 global userid
 # get cookie, set userid, etc...
}

proc get_userid {} {
  global userid
  return $userid
}

then anywhere within that thread alone, I can access the global variable
userid or call get_userid in .adp files, right? Do new requests always get a
new thread?

Jeremy

On Saturday 15 March 2003 11:00 am, you wrote:
> Please forgive my ignorance,
>
> But can someone point me in a direction for user authentication with AOL
> server? I understand two methods, but not certain how to make it all glue
> together.
>
> The first method I know is http authentication which will pop up a dialog
> box and ask the user for their information. I would like to try to avoid
> this because it's not quite as user friendly as having a login form.
>
> The second method is using cookies. I can handle this, but ensuring that
> the cookie is read for all .adp requests, that it is available in all my
> tcl methods, in the included adp_ files, etc... that is confusing me a
> little.
>
> I am certian their are other ways as well.
>
> Can anyone give me a little info or point me to an information source on
> this subject?
>
> Thanks,
>
> Jeremy
>
>
>
> I. To remove yourself from this list:
>
> Send a message to "[EMAIL PROTECTED]"  with the following text in
> the BODY of your message:
>
> signoff aolserver
>
> II. For a complete list of listserv options please visit:
>
> http://listserv.aol.com/
>
> III. For more AOLserver information please visit:
>
> http://www.aolserver.com/



I. To remove yourself from this list:

Send a message to "[EMAIL PROTECTED]"  with the following text in
the BODY of your message:

signoff aolserver

II. For a complete list of listserv options please visit:

http://listserv.aol.com/

III. For more AOLserver information please visit:

http://www.aolserver.com/

Reply via email to