Hi there,
is it possible, and how, to open some app webpage from the handleurl event ?
https://127.0.0.1:8080/?Key=XXYYY
I want to connect to the app using some key I put in a request url
and display a web page depending on that key?.
or do I need to deal with this on another part of the app ? the session ?
thanks.
I could use a hash instead of a request, it would appear in session.Hashtag
but how to respond to a request like ?Key=xxxx and do something with web pages
and not just a web service with no page ?
One of the bits you have not mentioned at all is the need to identify the request - i.e. who is the request coming from.
NOTE: In my example I return normal html pages - assume you meant return a Xojo web page ? If thatâs the case, then donât think you can do that from HandleURL but use the hashtag
is session.opening the best place to intercept this url and display the registerwebpage if the key is valid ?
or do I need a link like myapp.com/#resetpw?key=xxxxx
I donât do Web 2 but that URL will return a 404 unless you handle it in HandleURL and return True. Given it is HandleURL, it is (in and of itself) session agnostic.
This is the best thread with an example of session management from HandleURL provided by @Greg_O_Lone