To redirect to the profile edit page after successful login, use the following code in the Login page: After successful login event.
dim data
set data=dal.Table("UserTableName").Query("UserNameField='"& username & _
"' and PasswordField='" & password & "'","")
asp_header "Location: tablename_edit.asp?editid1=" & data("IDField")
response.end
See also:
•Redirect to details page after master record was added