Forums

ASP

This topic is locked

Storing someones username...

Posted 21 Nov 2002 16:17:30
1
has voted
21 Nov 2002 16:17:30 Robert Jansen posted:
When I user logged in (with use of login server behavior) how can I later, when they insert a record, automaticly insert their usernames in the same record?

Replies

Replied 21 Nov 2002 17:02:52
21 Nov 2002 17:02:52 Vince Baker replied:
There will be a session variable that Dreamweaver creates called MM_Username.

Add a hidden field to your form and in the value area enter the following:

<%=Session("MM_Username"%>

Et Voila........

Regards
Vince

Response.write("The best line of code you can ever use"

VBScript | ASP | HTML | SQL | Oracle | Hosting

Reply to this topic