[Javascript] General design question

Filipiak, Bob (Contractor) filipiab at atsc.army.mil
Mon Jul 16 07:12:54 CDT 2001


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.

Bob Filipiak (Contractor)
MCP 

-----Original Message-----
From: Andrew Dunn [mailto:adunn at mail.interworx.com.au]
Sent: Sunday, July 15, 2001 8:01 PM
To: javascript at LaTech.edu
Subject: RE: [Javascript] General design question


if you are using asp why not use a session variable to hold the user state
(if admin or not)? If the session variable ie. session("admin") = true then
display links or not display links.

if session("admin") = true then
	<a href="link.asp">Link</a>
end if
--------%< Snipped %<----------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20010716/fc10a7a4/attachment.htm>


More information about the Javascript mailing list