Redirect the page after login with using modal form I want to redirect the page after user login. for login i have using modal form.  I already use the Login designation module but its not working.
Any idea how do this?
Add this in your custom module. Hope it works.

/**
 * Implements hook_user_login().
 */
function my_module_user_login(&amp;$edit, $account) {
ctools_add_js('ajax-responder');
$commands = array();
$commands[] = ctools_ajax_command_redirect('YOUR-REDIRECT-PAGE');
print ajax_render($commands);
exit;
}