Tim Posted February 9, 2015 Posted February 9, 2015 Hi, In my project i have been using UniSession.CallbackUrl to obtain a target URL for file uploads. After deploying the project as an ISAPI DLL, i realised that this is a little problematic, because URLs returned by UniSession.CallbackUrl don't include the DLL name. So i switched to UniSession.CallbackUrlEx, which has an option to return an absolute URL. However, the form's OnAjaxEvent, which i am using to process the uploaded files, doesn't get triggered if i use a URL returned by UniSession.CallbackUrlEx. So i compared the URLs and noticed that URLs returned by UniSession.CallbackUrlEx include the following additional parameter: __EXCB__=1 When i remove this parameter, the form's OnAjaxEvent *does* get triggered when a file is uploaded. So this way seems to work -- i'm just wondering if this is a safe approach? What is the purpose of the __EXCB__ parameter? Many thanks, Tim Quote
Administrators Farshad Mohajeri Posted February 9, 2015 Administrators Posted February 9, 2015 __EXCB__=1 This parameter says that uniGUI should execute this as callback not as an Ajax event. I will resolve the ISAPI issue in next build. Quote
Tim Posted February 12, 2015 Author Posted February 12, 2015 Thanks for the fix in v0.99.0.1148. I have tested UniSession.CallbackUrl under ISAPI in my project and it works fine 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.