Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
URLBase without trailing '/'
#1
While switching a project to http.sys I noticed some odd behavior while testing (but http.sys is not the issue, problem also occurs in Indy mode).  

If you use 'URLBase' and reference the url without a trailing '/' the main page will load and the url in the browser will now display a trailing '/'.  If you reference the url again without a trailing '/the main page will load but a new session is created instead of using the original one.  In my case I just bookmarked the app without the '/' and I was able to create a couple hundred orphaned sessions with one minute of clicking the link.  I created a new, default IW project and the result is the same. A work around is to use an 'IWServerControllerBaseBeforeNewSession' event but then you get 404 without the trailing '/', not ideal.

[Image: 2019-10-13_13-42-01.png]
Reply


Messages In This Thread
URLBase without trailing '/' - by MJS@mjs.us - 10-13-2019, 07:17 PM
RE: URLBase without trailing '/' - by MJS@mjs.us - 10-15-2019, 02:37 PM
RE: URLBase without trailing '/' - by MJS@mjs.us - 10-16-2019, 12:56 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)