﻿<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <description><![CDATA[Comments for Managing sessions with Delphi 6 Web services (updated)]]></description>
    <title><![CDATA[Comments for Managing sessions with Delphi 6 Web services (updated)]]></title>
    <link>http://dn.codegear.com/article/27575</link>
    <!-- source: http://dn.codegear.com/article/27575/feed-->
    <dc:date>2008-07-20T16:33:52-07:00</dc:date>
    <item>
      <description><![CDATA[Hi folks,Nice article. I'm just wondering if there as any paper or something like this which explains the state-/session-behaviour of webservices in a little more details?For example: when one create an instance of a webservice-class, will it keep alive on the server until the object gets freed from the client (incl. member-variables etc.)? I'm thinking of webservices implemented as CGI's which get's fired for every request. Does the VCL store/reload such object-state/-data??Any hint would be great ;-)Cheers,Marc]]></description>
      <title><![CDATA[Managing Session and Authentication in Delphi 6 Web Services]]></title>
      <managingEditor>
	 (Marc D#rst)
</managingEditor>
      <guid isPermaLink="true">http://threads.codegear.com/threads/threads.exe/view?commentid=33795</guid>
      <dc:date>2002-12-24T02:55:12-08:00</dc:date>
      <pubDate>2002-12-24T02:55:12-08:00</pubDate>
      <source url="http://dn.codegear.com/article/27575/feed">Comments for Managing sessions with Delphi 6 Web services (updated)</source>
    </item>
    <item>
      <description><![CDATA[Hallvard,You are 100% correct, I think I already updated this code in my codecentral submission.Thanks,Daniel]]></description>
      <title><![CDATA[re: Thread-unsafe code in GetSession Data?]]></title>
      <managingEditor>
	 (Daniel Polistchuck)
</managingEditor>
      <guid isPermaLink="true">http://threads.codegear.com/threads/threads.exe/view?commentid=29686</guid>
      <dc:date>2001-08-19T07:54:52-07:00</dc:date>
      <pubDate>2001-08-19T07:54:52-07:00</pubDate>
      <source url="http://dn.codegear.com/article/27575/feed">Comments for Managing sessions with Delphi 6 Web services (updated)</source>
    </item>
    <item>
      <description><![CDATA[Nice article. However it looks like this code is not thread-safe:function TAuthenticator.GetSessionData(  const SessionHandle: String): String;begin  Result := '';  if not LocateSession(SessionHandle) then    Exit;  Result := wmAuthServer.cdsSessions.FieldByName ('SessionData').AsString;end;The LocateSession function will use the critical section correctly, but then you leave the critical section, so another thread might change the location of the CDS before you extract the field contents.Wrap this code by another try..finally section that enters and leaves the critical section, and it should be safe./Hallvard]]></description>
      <title><![CDATA[Thread-unsafe code in GetSession Data?]]></title>
      <managingEditor>
	 (Hallvard Vassbotn)
</managingEditor>
      <guid isPermaLink="true">http://threads.codegear.com/threads/threads.exe/view?commentid=29645</guid>
      <dc:date>2001-08-15T06:57:13-07:00</dc:date>
      <pubDate>2001-08-15T06:57:13-07:00</pubDate>
      <source url="http://dn.codegear.com/article/27575/feed">Comments for Managing sessions with Delphi 6 Web services (updated)</source>
    </item>
    <item>
      <description><![CDATA[Please flaaame me :) (But don't scorch me :P )]]></description>
      <title><![CDATA[Comments are welcome!]]></title>
      <managingEditor>
	 (Daniel Polistchuck)
</managingEditor>
      <guid isPermaLink="true">http://threads.codegear.com/threads/threads.exe/view?commentid=29596</guid>
      <dc:date>2001-08-09T05:44:26-07:00</dc:date>
      <pubDate>2001-08-09T05:44:26-07:00</pubDate>
      <source url="http://dn.codegear.com/article/27575/feed">Comments for Managing sessions with Delphi 6 Web services (updated)</source>
    </item>
    <generator>Atom 1.0 XSLT Transform v1 (http://atom.geekhood.net)</generator>
  </channel>
</rss>