Flash login
| Author | Topic |
|---|---|
| mitchell page Starting Member Joined: 20 Dec 2005 Country: Posts: 2 | Posted: 20 Dec 2005 02:43:32 Hi all, Hi all,I recently created a Flash/ASP login with an Access database with 4 fields (userName, firstName, lastName, password). At the flash screen, users type username and password, which are sent to the ASP page and verified against the userName and password fields, and the ASP sends a 'userInfo=true' or userInfo=false' back to flash. This WORKS fine! BUT What i also want to do now, is after the ASP has verified the username and password of a user, i want the ASP to send that users firstName and lastName (from the firstName and lastName fields) back to the flash file also. so aswell as getting the 'userInfo=true' or 'userInfo=false' information, i want to get the 'firstName' and lastName' information of the logged user. then i can display the users full name when they have logged in and been taken to the members only section (frame 5 of the flash file). I have tried a couple of things to do this but i cant seem to get it to work? the url for the Flash File, ASP file and Access database is www.danielholmes.com.au/login.zip Any assistance would be much appreciated from anyone. Thanks and kind regards, Mitcho Edited by - mitcho on 20 Dec 2005 02:44:50 |
| Tapas Chatterjee Starting Member Joined: 26 Sep 2005 Country: India Posts: 11 | Posted: 21 Dec 2005 16:49:08 hi there you can do this by sending a single associative array from ASP not a single variable and then parse it in flash accroding to your needs.But i sugest that when anyone tries to login .Keep that login name in a variable stored and when the ASP page sends you the results,if they are correct use that username from the variable.and not correct then you no what to do. hi there you can do this by sending a single associative array from ASP not a single variable and then parse it in flash accroding to your needs.But i sugest that when anyone tries to login .Keep that login name in a variable stored and when the ASP page sends you the results,if they are correct use that username from the variable.and not correct then you no what to do.thanks tapas chatterjee |
| mitchell page Starting Member Joined: 20 Dec 2005 Country: Posts: 2 | Posted: 22 Dec 2005 23:47:11 Thankyou!Thankyou! |
Posted: 20 Dec 2005 02:43:32








