Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 test of member identification in PHP

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!
Before posting, make sure you have read this topic!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
eauxvives Posted - 21 August 2006 : 02:45:42
Hello all
I was wondering if anyone had developped some PHP code to test whether a member is logged in on snitz forum and then recover memberID
the reason why I'm asking is that my site uses snitz identification for the whole site which is mainly in ASP
a colleague has developped a PHP application for our site and we would like to restrict access to some PHP pages based on snitz member ID

if not, how should we do this? recover memberID from the cookie?<
3   L A T E S T    R E P L I E S    (Newest First)
HuwR Posted - 21 August 2006 : 04:31:13
it also contains the last_here_date variable, and it may or may not contain the password (depending on whether the use has selected "remember me" when logging in) have a look at the doCookies function in inc_func_common.asp<
eauxvives Posted - 21 August 2006 : 03:56:11
And does the cookie contain anything else than the user name?<
HuwR Posted - 21 August 2006 : 02:47:55
yes, using the cookie method is probably easiest, the database although it knows who you are does not actually know whether you are logged in<

Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.04 seconds. Powered By: Snitz Forums 2000 Version 3.4.07