Jump to content

have AJAX submit a login page from a seperate page


divinewind85

Recommended Posts

I have a registration process that once completed requires the user to wait about a minute before my database updates. Sometimes it takes less time and what I want to do is to check to see if that user can log in after 20 seconds and then 40 seconds without them knowing. On my waiting page I want to have a call to the login page that attempts the login. I am trying to use the getAllResponseHeaders to check and see if they logged in.

 

When I run this now I am only getting the headers for the login page and not the headers after the user has attempted to login. I know this is because I am not calling the login page in the right way but I can't figure out what exactly to call. Should I right javascript that populates the fields on the login page and then have it submit it? Then call this javascript function in the AJAX call and pass it the users information.

 

Or is there a better way to get the code across to the login process?

 

Thanks

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.