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

2016-01-26 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.887=L21haW4-

Moviga TECHNOLOGIES added an attachment:

Session-0.0.1.tar.gz



--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


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

2016-01-26 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.887=L21haW4-

Comment #1 by Moviga TECHNOLOGIES:

Here is a more simple project showing the same issue!



--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


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

2016-01-26 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.887=L21haW4-

Comment #2 by Moviga TECHNOLOGIES:

OK! I found out now that it works with a string, but not a boolean value. The 
wiki says it can be a Variant, so then I suppose that this is indeed a bug!



--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


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

2016-01-26 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.887=L21haW4-

Benoît MINISINI changed the state of the bug to: Rejected.




--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


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

2016-01-26 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.887=L21haW4-

Comment #3 by Benoît MINISINI:

No. It does not work because, by default, WebPage are not buffered. 
So when the session is created, the cookie cannot be sent to the web browser 
because the Webpage header has already be sent.

Two solutions:

1) Add "Me.Buffered = True" in the webpage "_new" method. The headers and the 
HTML will be sent once the page has been entirely rendered.

2) Check the login/password and create the session outside of the WebPage, in 
the Main method for example.

Benoît MINISINI changed the state of the bug to: Invalid.



--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


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

2016-01-26 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.887=L21haW4-

Comment #4 by Moviga TECHNOLOGIES:

Aha! OK! Will try that :)



--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


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

2016-01-26 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.887=L21haW4-

Comment #5 by Benoît MINISINI:

Maybe you can try the new 'gb.web.form' component too, if you want to make a 
web application?



--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


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

2016-01-26 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.887=L21haW4-

Comment #6 by Moviga TECHNOLOGIES:

Righ now I am building a CMS for a personal website. I suppose I can use the 
webforms for the admin section! (y)



--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


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

2016-01-25 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.887=L21haW4-

Moviga TECHNOLOGIES added an attachment:

website-0.0.1.tar.gz



--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


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

2016-01-25 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.887=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=/.fonts
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/.gtkrc-2.0:/.config/gtkrc-2.0
GTK_MODULES=canberra-gtk-module
GTK_RC_FILES=/etc/gtk/gtkrc:/.gtkrc:/.config/gtkrc
HOME=
KDE_FULL_SESSION=true
KDE_MULTIHEAD=false
KDE_SESSION_UID=1000
KDE_SESSION_VERSION=5
LANG=nb_NO.UTF-8
LANGUAGE=nb
LOGNAME=
MAIL=/var/spool/mail/
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=
QT_IM_MODULE=compose
QT_NO_GLIB=1
SESSION_MANAGER=local/:@/tmp/.ICE-unix/572,unix/:/tmp/.ICE-unix/572
SHELL=/bin/bash
SHLVL=1
TZ=:/etc/localtime
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



--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


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

2016-01-25 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.887=L21haW4-

Moviga TECHNOLOGIES added an attachment:

CMS



--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user