Forums
This topic is locked
User name in form...
Posted 02 Jun 2003 15:48:43
1
has voted
02 Jun 2003 15:48:43 Guus van de Hoek posted:
I've created a site that user can log into. On that site is a form that inserts a record into a database. I'd like one of the fields in the form to be the name of the current user. How do I retrieve that name? (I use DreamWeaver MX.) Replies
Replied 03 Jun 2003 09:21:13
03 Jun 2003 09:21:13 Vince Baker replied:
If you are using the built in dreamweaver security the details you need are held in a session variable.
Insert a hidden field into your form and in the value box enter the following:
<%=Session("MM_Username"%>
Regards
Vince
Visit my home: www.chez-vince.com
VBScript | ASP | HTML | SQL | Oracle | Hosting
Insert a hidden field into your form and in the value box enter the following:
<%=Session("MM_Username"%>
Regards
Vince
Visit my home: www.chez-vince.com
VBScript | ASP | HTML | SQL | Oracle | Hosting
Replied 03 Jun 2003 17:56:50
03 Jun 2003 17:56:50 Guus van de Hoek replied:
Thank you very much!