Please enable JavaScript to view this site.

Navigation: Advanced topics > Events > Sample events > Misc

Redirect to the profile edit page after successful login

Scroll Prev Next More

 

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:

Data Access Layer

About Date Control API

Redirect to details page after master record was added

Redirect to another page