V
Viper
Guest
I've set up a PHP login script for users to register with my site and it saves the data into MySQL. That all runs run.
But I got thinking, I don't really want to have the user have to navigate away from the page they are on when they click on register or login. Long story, but they would have to re-set some personal settings on my site if they get navigated away to a register or login page.
As I am using modal windows in some of my pages, I thought I might try and set up the login and register pages in a modal window that open on top of the main site.
It's getting complicated though and the login part is running in a modal, but it cannot seem to pass the session info back to the site.
Is this possible to have login script run completely in a modal?
Or does the fact that the main web page must refresh in-order to know you are logged in not just the modal window?
If you have no clue what I am talking about, probably best not to answer, but if you do, any thoughts would be appreciated.
But I got thinking, I don't really want to have the user have to navigate away from the page they are on when they click on register or login. Long story, but they would have to re-set some personal settings on my site if they get navigated away to a register or login page.
As I am using modal windows in some of my pages, I thought I might try and set up the login and register pages in a modal window that open on top of the main site.
It's getting complicated though and the login part is running in a modal, but it cannot seem to pass the session info back to the site.
Is this possible to have login script run completely in a modal?
Or does the fact that the main web page must refresh in-order to know you are logged in not just the modal window?
If you have no clue what I am talking about, probably best not to answer, but if you do, any thoughts would be appreciated.