richcleverley
MIS
Hi,
I have a login link that opens a popup so that the user can login (Client specified they wanted a popup not to have it on page). When they submit their login details, they are validated by a php script and if correct a session cookie is set which is then used by the parent windows script to display a shopping cart.
What I want to do, is if the login is succesful, to close the popup window and refresh the parent window so the cookie is recognised and the cart is shown. So, how do I get the window to close and the parent to refresh. The php for this is no problem, just the javascript hence why I have posted in this forum.
Thanks,
Richard
I have a login link that opens a popup so that the user can login (Client specified they wanted a popup not to have it on page). When they submit their login details, they are validated by a php script and if correct a session cookie is set which is then used by the parent windows script to display a shopping cart.
What I want to do, is if the login is succesful, to close the popup window and refresh the parent window so the cookie is recognised and the cart is shown. So, how do I get the window to close and the parent to refresh. The php for this is no problem, just the javascript hence why I have posted in this forum.
Thanks,
Richard