Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 28 Aug 2017, 07:26
emath emath is offline
 
Join Date: Sep 2008
registration using xhr

Hey,

I'm trying to implement registration with ajax/xhr request:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

formData has all the data needed.

The user is successfully registered yet when I am refreshing the page, I am not logged in.
The session cookie is set successfully as well.

When I try to register the usual way, everything works fine.

What am I missing? is there something needed in the server side after the registration to acknowledge the cookie ?

Any help will be appreciated.
Reply With Quote
  #2  
Old 29 Aug 2017, 19:21
emath emath is offline
 
Join Date: Sep 2008
I've done it successfully with XHR, If someone else will need to do this, here is an example code :


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 05:05.

Layout Options | Width: Wide Color: