<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>RE: [Javascript] General design question</TITLE>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2614.3500" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Bob,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>thanks Bob, </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>yes </FONT><FONT face=Arial size=2>there will be a 
user table with the user status that will be checked during the login 
process</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>and yes I will join an ASP list</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>At this stage during the development of my 
application I am working on a Frontpage prototype (with no database behind) to 
present to the client.</FONT></DIV>
<DIV><FONT face=Arial size=2>Once they are happy with the look of all the pages 
I have to migrate it to work in an Informix environment using AppPage 
builder.</FONT></DIV>
<DIV><FONT face=Arial size=2>For the protoype I think I'll use the URL to carry 
the user access status but in the final application I assume I'll need something 
more secure and so my question.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Bill</FONT></DIV>
<BLOCKQUOTE 
style="BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A href="mailto:bill.marriott@optusnet.com.au" 
  title=bill.marriott@optusnet.com.au>Bill Marriott</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A 
  href="mailto:javascript@LaTech.edu" 
  title=javascript@LaTech.edu>javascript@LaTech.edu</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, July 17, 2001 6:00 
AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Javascript] General design 
  question</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=Arial size=2>Bob,</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Do you mean store a list of all the links in a 
  table and flag them Admin Yes or No?</FONT></DIV>
  <DIV><FONT face=Arial size=2>Then use something like:</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>if&nbsp; (after SQL in link table) 
  tblLink.fldAdmin </FONT><FONT face=Arial size=2>= true then<BR>&lt;a 
  href="link.asp"&gt;Link&lt;/a&gt;<BR>end if<BR></FONT></DIV>
  <DIV><FONT face=Arial size=2>Bill<BR></DIV></FONT>
  <BLOCKQUOTE 
  style="BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
    <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
    <DIV 
    style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
    <A href="mailto:filipiab@atsc.army.mil" 
    title=filipiab@atsc.army.mil>Filipiak, Bob (Contractor)</A> </DIV>
    <DIV style="FONT: 10pt arial"><B>To:</B> <A 
    href="mailto:'javascript@LaTech.edu'" 
    title=javascript@LaTech.edu>'javascript@LaTech.edu'</A> </DIV>
    <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, July 16, 2001 10:12 
    PM</DIV>
    <DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [Javascript] General 
    design question</DIV>
    <DIV><BR></DIV>
    <P><FONT size=2>Better yet, since you are using a DB why not modify the 
    table to have a column with a Admin flag for those links that are for Admin 
    only and validate the visitor against the db that way you don't have to rely 
    on cookies being enabled. Just a thought.</FONT></P>
    <P><FONT size=2>Bob Filipiak (Contractor)</FONT> <BR><FONT size=2>MCP 
    </FONT></P>
    <P><FONT size=2>-----Original Message-----</FONT> <BR><FONT size=2>From: 
    Andrew Dunn [<A 
    href="mailto:adunn@mail.interworx.com.au">mailto:adunn@mail.interworx.com.au</A>]</FONT> 
    <BR><FONT size=2>Sent: Sunday, July 15, 2001 8:01 PM</FONT> <BR><FONT 
    size=2>To: javascript@LaTech.edu</FONT> <BR><FONT size=2>Subject: RE: 
    [Javascript] General design question</FONT> </P><BR>
    <P><FONT size=2>if you are using asp why not use a session variable to hold 
    the user state</FONT> <BR><FONT size=2>(if admin or not)? If the session 
    variable ie. session("admin") = true then</FONT> <BR><FONT size=2>display 
    links or not display links.</FONT> </P>
    <P><FONT size=2>if session("admin") = true then</FONT> 
    <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT size=2>&lt;a 
    href="link.asp"&gt;Link&lt;/a&gt;</FONT> <BR><FONT size=2>end if</FONT> 
    <BR><FONT size=2>--------%&lt; Snipped 
    %&lt;----------------------------------------</FONT> 
</P></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>