<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v = 
"urn:schemas-microsoft-com:vml" xmlns:o = 
"urn:schemas-microsoft-com:office:office" xmlns:w = 
"urn:schemas-microsoft-com:office:word"><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3132" name=GENERATOR><!--[if !mso]>
<STYLE>v\:* {
        BEHAVIOR: url(#default#VML)
}
o\:* {
        BEHAVIOR: url(#default#VML)
}
w\:* {
        BEHAVIOR: url(#default#VML)
}
.shape {
        BEHAVIOR: url(#default#VML)
}
</STYLE>
<![endif]-->
<STYLE>@font-face {
        font-family: Wingdings;
}
@font-face {
        font-family: Tahoma;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: blue; TEXT-DECORATION: underline
}
P {
        FONT-SIZE: 12pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm; FONT-FAMILY: "Times New Roman"; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto
}
SPAN.EmailStyle19 {
        FONT-WEIGHT: normal; COLOR: blue; FONT-STYLE: normal; FONT-FAMILY: Arial; TEXT-DECORATION: none; mso-style-type: personal-reply
}
DIV.Section1 {
        page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-GB vLink=blue link=blue>
<DIV><SPAN class=920405516-07082007><FONT face=Arial color=#0000ff 
size=2>Reasonably unique is not unique. Browser IPs as provided by the Web 
server environment variables provide the IP to return the results page to the 
browser. But if the browser is behind a router, that IP may not be unique to a 
specific PC. Regardless, we do have an enhancement on the list to provide these 
values.</FONT></SPAN></DIV>
<DIV><SPAN class=920405516-07082007><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=920405516-07082007><FONT face=Arial color=#0000ff size=2>As for 
a system function, it's probably not worth the effort since any value that's 
received in the request can be obtained by declaring a temporary and doing an 
ACCEPT in the INITIALIZE procedure. </FONT></SPAN></DIV>
<DIV><SPAN class=920405516-07082007><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=920405516-07082007><FONT face=Arial color=#0000ff size=2>As for 
generating a unique ID, there are many different requirements and it's easier 
for customers to put their own together from things like SYSDATETIME, the result 
of the RANDOM function, and so on.</FONT></SPAN></DIV>
<DIV><SPAN class=920405516-07082007><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=920405516-07082007><FONT face=Arial color=#0000ff 
size=2>Bob</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
  face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Joe Boyle 
  [mailto:atla38@dsl.pipex.com] <BR><B>Sent:</B> August 7, 2007 12:53 
  PM<BR><B>To:</B> Deskin, Bob; 'Han Han'; 
  powerh-l@lists.sowder.com<BR><B>Subject:</B> RE: Session Control in PH Web - 
  new feature suggestion for phweb<BR><BR></FONT></DIV>
  <DIV class=Section1>
  <P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
  style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">Given that the return 
  address of the browser must be reasonably unique, allow a system call ( along 
  the lines of &#8216;userid/logonid&#8217;) to return the value of the address of the 
  browser.&nbsp; This would help enable sessionid 
  processing.<o:p></o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
  style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
  style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">Obviously, it would 
  be even easier if PHweb simply generated the equivalent of a unique sessionid 
  </SPAN></FONT><FONT face=Wingdings color=blue size=2><SPAN 
  style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Wingdings">J</SPAN></FONT><FONT 
  face=Arial color=blue size=2><SPAN 
  style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial"><o:p></o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial color=blue size=3><SPAN 
  style="FONT-SIZE: 12pt; COLOR: blue; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <DIV>
  <DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT 
  face="Times New Roman" size=3><SPAN lang=EN-US style="FONT-SIZE: 12pt">
  <HR tabIndex=-1 align=center width="100%" SIZE=2>
  </SPAN></FONT></DIV>
  <P class=MsoNormal><B><FONT face=Tahoma size=2><SPAN lang=EN-US 
  style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</SPAN></FONT></B><FONT 
  face=Tahoma size=2><SPAN lang=EN-US 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> 
  powerh-l-bounces+atla38=dsl.pipex.com@lists.sowder.com 
  [mailto:powerh-l-bounces+atla38=dsl.pipex.com@lists.sowder.com] <B><SPAN 
  style="FONT-WEIGHT: bold">On Behalf Of </SPAN></B>Deskin, Bob<BR><B><SPAN 
  style="FONT-WEIGHT: bold">Sent:</SPAN></B> 07 August 2007 14:46<BR><B><SPAN 
  style="FONT-WEIGHT: bold">To:</SPAN></B> Han Han; 
  powerh-l@lists.sowder.com<BR><B><SPAN 
  style="FONT-WEIGHT: bold">Subject:</SPAN></B> RE: Session Control in PH 
  Web</SPAN></FONT><SPAN lang=EN-US><o:p></o:p></SPAN></P></DIV>
  <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
  style="FONT-SIZE: 12pt"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <DIV>
  <DIV>
  <P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
  style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">There is no session 
  ID in PH Web because PH Web is stateless. In other words, once a request has 
  been satisfied, the PH Web Server does not retain any information about that 
  request. As Joe has pointed out, you can easily generate a unique number and 
  pass it back and forth.</SPAN></FONT><o:p></o:p></P></DIV>
  <DIV>
  <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
  style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
  <DIV>
  <P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
  style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">Bob</SPAN></FONT><o:p></o:p></P></DIV>
  <BLOCKQUOTE style="MARGIN-TOP: 5pt; MARGIN-BOTTOM: 5pt; MARGIN-RIGHT: 0cm">
    <P class=MsoNormal style="MARGIN-BOTTOM: 12pt"><FONT face=Tahoma 
    size=2><SPAN lang=EN-US 
    style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">-----Original 
    Message-----<BR><B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> 
    powerh-l-bounces+bob.deskin=cognos.com@lists.sowder.com 
    [mailto:powerh-l-bounces+bob.deskin=cognos.com@lists.sowder.com] <B><SPAN 
    style="FONT-WEIGHT: bold">On Behalf Of </SPAN></B>Han Han<BR><B><SPAN 
    style="FONT-WEIGHT: bold">Sent:</SPAN></B> August 6, 2007 10:24 
    PM<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> 
    powerh-l@lists.sowder.com<BR><B><SPAN 
    style="FONT-WEIGHT: bold">Subject:</SPAN></B> Session Control in PH 
    Web</SPAN></FONT><SPAN lang=EN-US><o:p></o:p></SPAN></P>
    <DIV>
    <P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
    style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">Hello 
    Guys,</SPAN></FONT><o:p></o:p></P></DIV>
    <DIV>
    <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
    style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
    <DIV>
    <P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
    style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">We are developing 
    PH web application. We come across issue on user login 
    security.</SPAN></FONT><o:p></o:p></P></DIV>
    <DIV>
    <P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
    style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">Currently we are 
    using Database to create user and their login 
    password.</SPAN></FONT><o:p></o:p></P></DIV>
    <DIV>
    <P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
    style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">IN PHP / ASP, there 
    is a syntax call 'session' to capture the value of login session (hidden 
    &amp; encrpyted) and be able to pass from page to 
    page.</SPAN></FONT><o:p></o:p></P></DIV>
    <DIV>
    <P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
    style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">Is there any 
    command in PH Web to do the same feature as 'session' 
    ?</SPAN></FONT><o:p></o:p></P></DIV>
    <DIV>
    <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
    style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
    <DIV>
    <P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
    style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">PH Web version: 
    8.41D1 Axiants 4GL 3.4D1</SPAN></FONT><o:p></o:p></P></DIV>
    <DIV>
    <P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
    style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">O/S: Windows 
    2003</SPAN></FONT><o:p></o:p></P></DIV>
    <DIV>
    <P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
    style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">Database: MS 
    SQL</SPAN></FONT><o:p></o:p></P></DIV>
    <DIV>
    <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
    style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
    <DIV>
    <P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
    style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">Regards,</SPAN></FONT><o:p></o:p></P></DIV>
    <DIV>
    <P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
    style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">Kim 
    Han</SPAN></FONT><o:p></o:p></P></DIV>
    <DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT 
    face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">
    <HR align=center width="100%" SIZE=1>
    </SPAN></FONT></DIV>
    <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
    style="FONT-SIZE: 12pt"><A href="http://answers.yahoo.com.sg"><SPAN 
    style="TEXT-DECORATION: none"><IMG id=_x0000_i1026 height=65 
    src="http://sg.yimg.com/i/sg/answers/yanswers_footer.gif" width=346 border=0 
    NOSEND="1"></SPAN></A><BR><STRONG><B><FONT face="Times New Roman" 
    color=#33cc00><SPAN style="COLOR: #33cc00">Real people. Real questions. Real 
    answers. <A href="http://answers.yahoo.com.sg">Share what you 
    know</A></SPAN></FONT></B></STRONG>.<o:p></o:p></SPAN></FONT></P></BLOCKQUOTE></DIV>
  <DIV>
  <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
  style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
  <DIV>
  <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
  style="FONT-SIZE: 12pt">&nbsp;&nbsp;&nbsp;&nbsp; This message may contain 
  privileged and/or confidential information.&nbsp; If you have received this 
  e-mail in error or are not the intended recipient, you may not use, copy, 
  disseminate or distribute it; do not open any attachments, delete it 
  immediately from your system and notify the sender promptly by e-mail that you 
  have done so.&nbsp; Thank you. 
<o:p></o:p></SPAN></FONT></P></DIV></DIV></BLOCKQUOTE></BODY></HTML>