Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Discussions (General)
 getMemberID(strDBNTUserName)
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 26 July 2005 :  09:54:20  Show Profile  Visit MarcelG's Homepage  Reply with Quote
Just a quick question.
Am I right to say that a getMemberID(strDBNTUserName) is no longer necessary, since the introduction of MemberID ?

I've got some custom pages which include the inc_header.asp, where I use getMemberID(strDBNTUserName) for retrieving the member_id of the member logged in.

I think it'll save, like errrr, many db calls but I'm not sure if my assumption is correct.<

portfolio - linkshrinker - oxle - twitter

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 26 July 2005 :  10:17:22  Show Profile  Reply with Quote
Yes, getMemberID(strDBNTUserName) will give you the same result as MemberID.

<

Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 26 July 2005 :  10:29:38  Show Profile  Visit MarcelG's Homepage  Reply with Quote
Thanks!!
/me is going to save some db calls!<

portfolio - linkshrinker - oxle - twitter
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 26 July 2005 :  10:36:49  Show Profile  Reply with Quote
You're welcome

<

Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 26 July 2005 :  15:15:23  Show Profile  Visit AnonJr's Homepage  Reply with Quote
At which point is this initialized?<
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 26 July 2005 :  18:19:44  Show Profile  Send ruirib a Yahoo! Message  Reply with Quote
MemberID is initialized with the ChkUser call in inc_header.asp. It's rather at an early point of the processing of each page.<


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 26 July 2005 :  19:38:33  Show Profile  Visit AnonJr's Homepage  Reply with Quote
Cool. I'm trying to cut down on headaches from people not printing their verification pages - the pages that show they successfully completed their online test. I have a logid show up that they can write down (heh). I was thinking of having it set up so that they filled in the name, et al using thier forum login and having a lookup table show them all the tests they took under their profile.

This makes getting the MemberID a whole lot easier...

<
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.1 seconds. Powered By: Snitz Forums 2000 Version 3.4.07