I'm trying to write my first web aplication and i ran into a little problem. It's probably trivial, but i just can't figure it out. How can i switch between pages from code? I have a login form with a "log in" button on it. On the button click event, after checking if the user exists and the password is correct i need to close the login page and open the home page. Please help.
0 · ·