[Gambas-user] [Gambas Bug Tracker] Bug #887: Session is lost, and I don't know why.

bugtracker at ...3416... bugtracker at ...3416...
Mon Jan 25 17:16:41 CET 2016


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

Moviga TECHNOLOGIES reported a new bug.

Summary
-------

Session is lost, and I don't know why.

Type             : Bug
Priority         : Medium
Gambas version   : 3.8.90 (TRUNK)
Product          : Development Environment


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

I cannot figure out why the Session variables are reset after going to /admin and logging in with user:test password:Test123.

At first the Session variables are OK, and the login i successful. But as soon as you browse to another page, they are lost (try going to /admin once more after logging in, but do not use refresh as it will resend the Post data).

You must also change the path to the attached database to the correct path.

I have not called Session.Abandon(), nor have I reset the session variables. Only thing I can think of then is a bug...

Kind regards


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

[System]
Gambas=3.8.90 r7585
OperatingSystem=Linux
Kernel=4.3.3-3-ARCH
Architecture=x86_64
Distribution=arch 
Desktop=KDE5
Theme=Breeze
Language=nb_NO.UTF-8
Memory=3580M

[Libraries]
Cairo=libcairo.so.2.11400.6
Curl=libcurl.so.4.4.0
DBus=libdbus-1.so.3.14.6
GStreamer=libgstreamer-1.0.so.0.603.0
GTK+2=libgtk-x11-2.0.so.0.2400.29
GTK+3=libgtk-3.so.0.1800.6
OpenGL=libGL.so.1.2.0
Poppler=libpoppler.so.58.0.0
QT4=libQtCore.so.4.8.7
QT5=libQt5Core.so.5.5.1
SDL=libSDL-1.2.so.0.11.4

[Environment]
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DESKTOP_SESSION=/usr/share/xsessions/plasma
DISPLAY=:0
GB_GUI=gb.qt5
GS_LIB=<home>/.fonts
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:<home>/.gtkrc-2.0:<home>/.config/gtkrc-2.0
GTK_MODULES=canberra-gtk-module
GTK_RC_FILES=/etc/gtk/gtkrc:<home>/.gtkrc:<home>/.config/gtkrc
HOME=<home>
KDE_FULL_SESSION=true
KDE_MULTIHEAD=false
KDE_SESSION_UID=1000
KDE_SESSION_VERSION=5
LANG=nb_NO.UTF-8
LANGUAGE=nb
LOGNAME=<user>
MAIL=/var/spool/mail/<user>
MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins
PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
PWD=<home>
QT_IM_MODULE=compose
QT_NO_GLIB=1
SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/572,unix/<hostname>:/tmp/.ICE-unix/572
SHELL=/bin/bash
SHLVL=1
TZ=:/etc/localtime
USER=<user>
XAUTHORITY=/tmp/xauth-1000-_0
XCURSOR_SIZE=0
XCURSOR_THEME=breeze_cursors
XDG_CURRENT_DESKTOP=KDE
XDG_DATA_DIRS=/usr/share:/usr/share:/usr/local/share
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_CLASS=user
XDG_SESSION_DESKTOP=KDE
XDG_SESSION_ID=c2
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1
XDG_SESSION_TYPE=x11
XDG_VTNR=1
_=/usr/lib/kf5/start_kdeinit_wrapper






More information about the User mailing list