Link to home
Start Free TrialLog in
Avatar of cwruck
cwruck

asked on

How to Redirect DNN 6.2.4. After Login to Another Subdomain

I have a site-wide custom skin where I have a problem with the DNN 6.2.4 login popup. After the login completes, I want to redirect to the ReturnURL, but I want to change the subdomain based on the users login name. If I manually do the redirect after detecting in the skin that the user has now logged in, I find I am still in the popup iframe and the redirect occurs within the popup window, not the parent window. If I comment out the manual redirect in the skin, the login popup unloads as it is meant to and the parent page refreshes, with the now logged in, but of course in the www subdomain, not the user's subdomain.
 
Essesntially I want to redirect on login from www.mydomain.com.au --> username.mydomain.com.au after login.
 
Any optional request parameters for the domain should also be preserved in the redirect.
 
How can I get the login popup to close and THEN redirect to the modified URL?
Avatar of COBOLdinosaur
COBOLdinosaur
Flag of Canada image

If you don't post your code, you are not going to atract much help. In the absence of code all we can do is waste our time guessing.

Cd&
ASKER CERTIFIED SOLUTION
Avatar of cwruck
cwruck

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of cwruck
cwruck

ASKER

No further comment.
Avatar of cwruck

ASKER

It works.