Hi, >My first question is, is this a good idea (using a GUID as a session Id) We use GUID's as session Id's for our website, and currently have had no problems using these as Session IDs. (the website goes through approx 4400 sessions per day)
>My second question is, if it is an alright idea, what is the easiest way >to get hold of a GUID (at run time), do I need to link in all the COM >stuff and use and use the CreateClassID function (I don't think any COM >stuff is linked in at the moment and as it is a web app I thought I >would try and keep it small, and maybe even venture into Kylix in the >future???). As for GUID creation we use the WinAPI function CoCreateGUID to create the GUID's at runtime. We then store these on our SQLServer database for retrieval at a later time. Hope that helps. Ben Vaughan Developer www.cecil.edu --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/