[Gambas-bugtracker] Bug #2637: Web Application Session be able to filter call by Host and Port

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Thu Oct 6 21:24:34 CEST 2022


http://gambaswiki.org/bugtracker/edit?object=BUG.2637&from=L21haW4-

Olivier CRUILLES reported a new bug.

Summary
-------

Web Application Session be able to filter call by Host and Port

Type             : Request
Priority         : Medium
Gambas version   : Master
Product          : Development Environment


Description
-----------

Hi Benoit,

As already discussed, could it be possible to add the PORT number as cookie for the Session managed by gb.web.ui

That way, it will be possible to run multiple Gambas Web applications on the same Host on various port.

For now if the browser has started a Session to a Gambas Web Application on a Port, the second call to the Port of the second Gambas Application stay connected to the first session and so display the same page.

Hope the explanation is enough.

Olivier


System information
------------------

[System]
Gambas=3.17.90 c5e9a57f0 (master)
OperatingSystem=Linux
Kernel=5.8.15-301.fc33.x86_64
Architecture=x86_64
Distribution=redhat Fedora release 35 (Thirty Five)
Desktop=MATE
Font=Liberation Sans,10
Scale=7
Theme=mint-x
Language=fr_FR.utf8
Memory=32054M

[Libraries]
Cairo=libcairo.so.2.11704.0
Curl=libcurl.so.4.7.0
DBus=libdbus-1.so.3.19.14
GDK2=libgdk-x11-2.0.so.0.2400.33
GDK3=libgdk-3.so.0.2404.30
GStreamer=libgstreamer-1.0.so.0.2000.0
GTK+2=libgtk-x11-2.0.so.0.2400.33
GTK+3=libgtk-3.so.0.2404.30
OpenGL=libGL.so.1.7.0
Poppler=libpoppler.so.112.0.0
QT5=libQt5Core.so.5.15.2
SQLite=libsqlite3.so.0.8.6

[Environment]
BASH_ENV=/usr/share/lmod/lmod/init/bash
BASH_FUNC_ml%%=() {  eval $($LMOD_DIR/ml_cmd "$@")
}
BASH_FUNC_module%%=() {  eval $($LMOD_CMD bash "$@") && eval $(${LMOD_SETTARG_CMD:-:} -s sh)
}
BASH_FUNC_which%%=() {  ( alias;
 eval ${which_declare} ) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot "$@"
}
CAPP_BUILD=<home>/Packages/Starter/Build
CONDA_SHLVL=0
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DEBUGINFOD_URLS=https://debuginfod.fedoraproject.org/ 
DESKTOP_SESSION=mate
DISPLAY=:0
EDITOR=/usr/bin/vim
GB_GUI=gb.gtk3
GDMSESSION=mate
GDM_LANG=fr_FR.utf8
GIO_LAUNCHED_DESKTOP_FILE_PID=594200
GTK3_MODULES=xapp-gtk3-module
GTK_OVERLAY_SCROLLING=0
GUESTFISH_INIT=\e[1;34m
GUESTFISH_OUTPUT=\e[0m
GUESTFISH_PS1=\[\e[1;32m\]><fs>\[\e[0;31m\] 
GUESTFISH_RESTORE=\e[0m
HISTCONTROL=ignoredups
HISTSIZE=1000
HISTTIMEFORMAT=%F %T 
HOME=<home>
HOSTNAME=<hostname>
IMSETTINGS_INTEGRATE_DESKTOP=yes
IMSETTINGS_MODULE=none
KDEDIRS=/usr
LANG=fr_FR.utf8
LC_ALL=fr_FR.utf8
LESSOPEN=||/usr/bin/lesspipe.sh %s
LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod
LMOD_DIR=/usr/share/lmod/lmod/libexec
LMOD_PKG=/usr/share/lmod/lmod
LMOD_ROOT=/usr/share/lmod
LMOD_SETTARG_FULL_SUPPORT=no
LMOD_VERSION=8.4.30
LMOD_sys=Linux
LOGNAME=<user>
MAIL=/var/spool/mail/<user>
MANPATH=/usr/share/lmod/lmod/share/man:
MATE_DESKTOP_SESSION_ID=this-is-deprecated
MODULEPATH=/etc/modulefiles:/usr/share/modulefiles:/usr/share/modulefiles/Linux:/usr/share/modulefiles/Core:/usr/share/lmod/lmod/modulefiles/Core
MODULEPATH_ROOT=/usr/share/modulefiles
MODULESHOME=/usr/share/lmod/lmod
MOZ_GMP_PATH=/usr/lib64/mozilla/plugins/gmp-gmpopenh264/system-installed
PAGER=most
PATH=<home>/.local/bin:<home>/.cargo/bin:<home>/narwhal/bin:<home>/perl5/bin:/usr/condabin:/usr/lib64/ccache:<home>/.cargo/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/var/lib/snapd/snap/bin:<home>/bin:/usr/local/xaralx/bin
PERL5LIB=<home>/perl5/lib/perl5
PERL_LOCAL_LIB_ROOT=<home>/perl5
PERL_MB_OPT=--install_base "<home>/perl5"
PERL_MM_OPT=INSTALL_BASE=<home>/perl5
PWD=<home>
QT_FONT_DPI=88
QT_IM_MODULE=xim
QT_LOGGING_RULES=*.debug=false
QT_SCALE_FACTOR=1
SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/2944,unix/unix:/tmp/.ICE-unix/2944
SHELL=/bin/bash
SHLVL=0
SSH_AGENT_PID=3073
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
TERM=dumb
TZ=:/etc/localtime
USER=<user>
XAUTHORITY=/run/lightdm/<user>/xauthority
XDG_CURRENT_DESKTOP=MATE
XDG_DATA_DIRS=<home>/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share:/var/lib/snapd/desktop
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/<user>
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_CLASS=user
XDG_SESSION_DESKTOP=mate
XDG_SESSION_ID=2
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_SESSION_TYPE=x11
XDG_VTNR=1
XMODIFIERS=@im=none
which_declare=declare -f




More information about the Bugtracker mailing list