Hello Gautier, > Le 27 févr. 2018 à 14:07, Gautier de Montmollin <[email protected]> a écrit > : > > This leads to another idea... > Is there any way to retrieve the exact URL on an On_Connect ? > > For instance, both > > http://pasta.phyrama.com/ > http://pasta.phyrama.com/garbage > > start the Pasta game, but I could do something special if the string > "garbage" is spotted. > No more need to mess with CGI and the like.
Try to take the URL with function URL (Location : Location_Type) return String; from Gnoga.Gui.Location package and Location with function Location (Window : Window_Type) return Gnoga.Gui.Location.Location_Access; from Gnoga.Gui.Window package with Window coming in On_Connect. HTH, Pascal. http://blady.pagesperso-orange.fr ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Gnoga-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gnoga-list
