<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>26 Feb 2016 10:22:00 Z</lastBuildDate><pubDate>26 Feb 2016 09:51:00 Z</pubDate><description>Could you please someone to explain how to work correctly with sessions (session variables) in WebDev in AWP mode? The documentation does not give any normal example. I used to understand sessions as they work in php - I just use session_start() and then I can use $_SESSION array everywhere. I thought the concept in WebDev is the same. I use this code for initialization session in Global Init of project:&#13;
&#13;
SessionObject is class UserID is string SessionID is string ... // other members END gobjSession is SessionObject ConfigureAWPContext(ctxDisk) DeclareAWPContext(gobjSession)&#13;
&#13;
Then I suppose I can use gobjSession object in my code. I.e. I can save UserID after successfull login, save some little cached information. Should I do call of DeclareAWPContext somewhere except global code?</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56617-sessions-awp-mode/read.awp</link><title>Sessions in AWP mode</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56617-sessions-awp-mode-56618/read.awp</comments><pubDate>26 Feb 2016 10:22:00 Z</pubDate><description>In addition, when I tried to save session identifier I did so:&#13;
&#13;
IF NOT DeclareAWPContext(gsSessionID) THEN&#13;
gsSessionID = Iden…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56617-sessions-awp-mode-56618/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56617-sessions-awp-mode-56618/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56617-sessions-awp-mode/read.awp">Sessions in AWP mode</source><title>Re: Sessions in AWP mode</title></item></channel></rss>
