![]() |
registration using xhr
Hey,
I'm trying to implement registration with ajax/xhr request: Code:
$.post({ 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. |
I've done it successfully with XHR, If someone else will need to do this, here is an example code :
Code:
var xhr = new XMLHttpRequest(); |
All times are GMT. The time now is 03:34 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|