[Javascript] General design question

Andrew Dunn adunn at mail.interworx.com.au
Sun Jul 15 19:01:18 CDT 2001


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

-----Original Message-----
From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On
Behalf Of Bill Marriott
Sent: Saturday, 14 July 2001 5:22 PM
To: javascript at LaTech.edu
Subject: [Javascript] General design question


Hi Everyone,

I'm building a web database application where I want to limit the use of
some of the links
on all the pages to the administrator. The login page will determine the
admin.

Which is the best way to carry the admin variable from page to page?
and
Can I hide the admin links from everyone else?

thanks

Bill

_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
http://www.LaTech.edu/mailman/listinfo/javascript




More information about the Javascript mailing list