Forums
This topic is locked
session userID
Replies
Replied 14 Jan 2003 12:30:19
14 Jan 2003 12:30:19 Lee Diggins replied:
Hi Zoe,
create a session variable and assign your userID value to it, I'm assuming your pulling you ID from a DB so change the recordset reference to suit:
Session("UserID"
= rsMyData.Fields.Item("userID"
.Value
Digga
Sharing Knowledge Saves Valuable Time!!!
create a session variable and assign your userID value to it, I'm assuming your pulling you ID from a DB so change the recordset reference to suit:
Session("UserID"


Digga
Sharing Knowledge Saves Valuable Time!!!
Replied 14 Jan 2003 14:46:59
14 Jan 2003 14:46:59 Julio Taylor replied:
If you're using PHP, there is an automatic global called KT_Username which can be retrived as a session variable. just be sure to include the following code at the top of your page:
<?php
session_start();
?>
cheers!
------------------------
Julio
PHP | MySQL | UD4
ICQ: 19735247
<?php
session_start();
?>
cheers!
------------------------
Julio
PHP | MySQL | UD4
ICQ: 19735247