Logon using flash mx 2004

Problem…i searched the forum for topics like this and no one has asked this yet, ive seen this done and i know it can be done, might be hard but i will try and find out how its done.

Is there anyway of having a flash login form on a page and when the details entered correctly it will loads up a new page with the actual logged in page and details etc. I know theres a login tutorial on Kirupa and that works well but it only lets you login to another frame where as i want it to log you into a new page with a new flash movie in it and it still remeber the users details.

An example of how i kinda of whant it to look is at www.dubit.co.uk. This uses a normal CFM form but allows you to login to a flash movie, any ideas how its done?

Thanks
Jay