Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Most people in the OpenEdge world write their own session handling (myself included), although there are some alternatives.</p> <p>As Tim mentions, there is the Free Framework, which has been around for 12 years now, but I don't know whether it's still being actively developed.</p> <p>The <a href="http://www.proaxima.com/escript.shtml" rel="nofollow">eScript</a> framework is an excellent replacement for WebSpeed, allowing you to split business logic &amp; UI. You'll be aware that using cgi-wrappers is a pain for your string handling (quotes and double quotes for JavaScript code inside of 4GL strings is a nightmare). The full framework (I believe there's an ongoing licence to use the full framework) has full session handling built in.</p> <p>I believe that there is going to be a brand new framework released in the next 12 months by the eScript developer as a replacment for eScript; for more information sign up to the eScript developer's mailing list at <a href="http://rulesix.co.uk/" rel="nofollow">Rule Six</a> (his name's Matt Verrinder, and I'm in no way affiliated with him).</p> <p>I myself use the basic eScript web object. This doesn't have ongoing licensing (you just have to take some up front consultancy from Matt) and gives you the benefits of the business logic/UI split on the cheap. You still have to write your own session handling, of course.</p> <p>A good resource for OpenEdge developers is <a href="http://www.progresstalk.com" rel="nofollow">www.progrestalk.com</a>: you're more likely to get useful answers there than on Stackoverflow. If you do a search on their forums you'll find plenty of information about session handling.</p> <p>OpenEdge does have session handling built in. Here's an excerpt from a <a href="http://www.progresstalk.com/showthread.php?116545-WebSpeed-Session-Handling" rel="nofollow">thread</a> on Progresstalk:</p> <blockquote> <p>On the messenger you need to set in $DLC/properties/ubroker.porperties: useConnID=1 in the environment section of the webspeed agent you need to set SESSION_PATH. This should point to a directory where you woud like to store the session variables. If you have done this then you can use setSession("VarName","VarValue") to set variables and getSession("Varname") to retrieve values. The sessionvariables are stored in a file name ENCODE(SESSION:SERVER-CONNECTION-ID).tmp.</p> <p>This method of has its flaws like: Values are always stored as character and maximum size of file is 32K (well at least it used to be) and so on. But if the stuff youy are going to do isn't too complicated then its a good starting point. One can always expand this by starting to implement there own sessionManager.</p> </blockquote> <p>Hopefully there's some useful information in there you can use! </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload