
Welcome Guest
|
#1
|
||||
|
||||
|
Cookie newbie need help
Hi guys,
I am a bit of a cookie newbie, never had to use them so didn't bother reading up on them. so i did today. I thought i was doing well. :confused: I have a simple login system on the front-end of my site. First test was to pass the user & pw to the script via url string and check against the db and if ok setcoookie PHP Code:
This works fine. So my next step was to create a flash login and that would essentially do the same. PHP Code:
Actionscript:
result_lv.onLoad = function(success) {
if (success) {
if (result_lv.retval == 1) {
getURL("javascript:NewWindow=window.open('workspace.php','newWin','width='+screen.availWidth+',height='+screen.availHeight+',left=0,top=0,toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=Yes'); NewWindow.focus(); void(0);");
} else {
txStatus.htmlText = "<font color='#990000'>" + unescape(result_lv.errormsg) + "</font>" + newline + unescape(login_lv);
}
}
};Again this works to the point that the popup is launched but it dosn't seem to be able to find the cookie i set in the login script. Anyone want to point me on the right path. Thanks Paul
__________________
.:To me AS is like LEGO, Only for the big Kids :. - Site - Blog - Glasgow Flasher - Activeden - bringmadeleinehome.com |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Flash Builder for Newbie | xyz777 | New Softwares | 1 | 03-16-2010 09:47 PM |
| Get Cookie and Set Cookie | rbgerman | Flash MX |
2 | 03-15-2006 03:30 PM |
| Reading/writing a cookie in Flash | Schteve | Flash MX |
1 | 08-12-2005 10:09 AM |
| Newbie question about scale | PaLoBo | Newbies |
2 | 05-21-2005 08:56 AM |

Other Programming




