Hello all,
Im building a custom login sequence for "Directadmin" in Flash with the following code:
ActionScript:
on (release) {
username = txt_username.text;
password = txt_password.text;
getURL("http://www.myurl.com", "_self", "POST");
}
This all works fine but I want to disable the user to use backspace to go to this loginpage after a successfull login (I am loging in to an allready exisiting 3d part hosting controlpanel). Because if he browses back (backspace or browser backbutton) and inputs a password and a username that is wrong............. I get sent to the default login panel. Which in it's turn I don't want to use cause I can't skin it.
I hope im still making sense
Anyways I was thinking of maybe using a javascript "window.location.replace" action, but haven't had any luck in combining that with sending POST data via getURL.
So if anyone can give me a pointer or a possible solution, I would really appreciate it.
Im building a custom login sequence for "Directadmin" in Flash with the following code:
ActionScript:
on (release) {
username = txt_username.text;
password = txt_password.text;
getURL("http://www.myurl.com", "_self", "POST");
}
This all works fine but I want to disable the user to use backspace to go to this loginpage after a successfull login (I am loging in to an allready exisiting 3d part hosting controlpanel). Because if he browses back (backspace or browser backbutton) and inputs a password and a username that is wrong............. I get sent to the default login panel. Which in it's turn I don't want to use cause I can't skin it.
I hope im still making sense
Anyways I was thinking of maybe using a javascript "window.location.replace" action, but haven't had any luck in combining that with sending POST data via getURL.
So if anyone can give me a pointer or a possible solution, I would really appreciate it.