Ive got a login form for users with the fields subdomain, username and
password. This is at the URL http://domain.com.
When the user submits the form and login is successful, i need the URL
to change to http://subdomain.domain.com/whatever.
How can I do this?
My try was
But I think the session data is lost when you redirect like above. So
it takes me back to the login form.