Jump to content

Meaning of __EXCB__ in URLs generated by CallbackUrlEx


Recommended Posts

Posted

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

Posted

Thanks for the fix in v0.99.0.1148. I have tested UniSession.CallbackUrl under ISAPI in my project and it works fine :)

  • Upvote 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...