1👍
✅
The final way I adopt is to change the iOS container to accept cookie, and no need to change the server side any more. some code for reference,
-(void)applicationDidBecomeActive:(UIApplication *)application {
isInternetconnectionUp = [self checkInternetConnection];
[[NSHTTPCookieStorage sharedHTTPCookieStorage] setCookieAcceptPolicy:NSHTTPCookieAcceptPolicyAlways];
}
1👍
You can just re-include your URLs with a prefix, no need to change anything.
url(r'^(?P<sessionid>sess_[a-f0-9]+)/', include('your_urls')),
👤Joe
- [Answered ]-Images in quiz model
- [Answered ]-Create additional model on activation django-registration
- [Answered ]-How to validate number in django
Source:stackexchange.com