<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2652.35">
<TITLE>RE: [Javascript] General design question</TITLE>
</HEAD>
<BODY>

<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(&quot;admin&quot;) = true then</FONT>
<BR><FONT SIZE=2>display links or not display links.</FONT>
</P>

<P><FONT SIZE=2>if session(&quot;admin&quot;) = true then</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>&lt;a href=&quot;link.asp&quot;&gt;Link&lt;/a&gt;</FONT>
<BR><FONT SIZE=2>end if</FONT>
<BR><FONT SIZE=2>--------%&lt; Snipped %&lt;----------------------------------------</FONT>
</P>

</BODY>
</HTML>