login url session rewrite
===

I have a login session issue. Basically the flow is like this:

- user create account, define a username
- user login using url 'http://[username].website.com'
- (coded in php & mysql, using session cookie)

My problem is when trying to directly login from the index page 'www.website.com' i don't manage to get my user logged to his url http://username.website.com

Thanks for any help,





