Forums
This topic is locked
Creating Session Variable
Posted 29 Dec 2004 01:24:56
1
has voted
29 Dec 2004 01:24:56 Jeff Baranda posted:
Hello,Need to know how to add another session variable that gets its data from a field in a SQL recordset.
Dreamweaver already creates two session variables for me when my users login to my IT Request System (MM_Username and MM_UserAuthorization) but what if I need to create another session variable for the users department code that will dynamically pull the department code from my employee table when the user logs in?
Thanks in advance.
Replies
Replied 29 Dec 2004 04:13:55
29 Dec 2004 04:13:55 Chris Charlton replied:
Just for reference: <b>What language (PHP/ASP/.NET/ColdFusion/JSP)?</b>
Here's a few links of Premium Articles & free tutorials here on DMXzone that will help.
<b>PHP</b><ul><li>Working with Session Variables in PHP - www.dmxzone.com/showDetail.asp?TypeId=28&NewsId=5454</li>
<li>PHP Basics: Cookies and Sessions - www.dmxzone.com/showDetail.asp?TypeId=28&NewsId=6656</li></ul>
<b>ASP/ASP.NET</b><ul><li>Creating additional Sessions from Login page - www.dmxzone.com/showDetail.asp?TypeId=2&NewsId=6875
</li></ul>
~~~~~~~~~~~~~~~
Chris Charlton
Sr. Developer - www.fingerprintMedia.com
Here's a few links of Premium Articles & free tutorials here on DMXzone that will help.
<b>PHP</b><ul><li>Working with Session Variables in PHP - www.dmxzone.com/showDetail.asp?TypeId=28&NewsId=5454</li>
<li>PHP Basics: Cookies and Sessions - www.dmxzone.com/showDetail.asp?TypeId=28&NewsId=6656</li></ul>
<b>ASP/ASP.NET</b><ul><li>Creating additional Sessions from Login page - www.dmxzone.com/showDetail.asp?TypeId=2&NewsId=6875
</li></ul>
~~~~~~~~~~~~~~~
Chris Charlton
Sr. Developer - www.fingerprintMedia.com
Replied 30 Dec 2004 20:34:22
30 Dec 2004 20:34:22 Jeff Baranda replied:
BINGO!
Thanks.
Thanks.
Replied 30 Dec 2004 22:44:51
30 Dec 2004 22:44:51 Chris Charlton replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>BINGO! Thanks.<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Awesome <img src=../images/dmxzone/forum/icon_smile_cool.gif border=0 align=middle>, glad I could help! <img src=../images/dmxzone/forum/icon_smile_big.gif border=0 align=middle>
~~~~~~~~~~~~~~~
Chris Charlton
Sr. Developer - www.fingerprintMedia.com
Awesome <img src=../images/dmxzone/forum/icon_smile_cool.gif border=0 align=middle>, glad I could help! <img src=../images/dmxzone/forum/icon_smile_big.gif border=0 align=middle>
~~~~~~~~~~~~~~~
Chris Charlton
Sr. Developer - www.fingerprintMedia.com