Re: Database Access

From: Kent Smith (ksmith_at_ipsoinc.com)
Date: 02/24/04


Date: Tue, 24 Feb 2004 13:28:58 GMT

On Tue, 24 Feb 2004 04:34:29 -0500, J.J. Holiday <jjholiday@lycos.com>
wrote:

>On Tue, 24 Feb 2004 01:54:40 GMT, Kent Smith <ksmith@ipsoinc.com>
>wrote:
>
>>Then the best approach is to use ASP security. There are dozens of
>>good books out there that give cookbook approaches; this is a very
>>common thing to do. Make sure you know if you are using ASP or
>>ASP.NET (they are very different). ASP has pages with a .asp
>>extension, ASP.NET has pages with .aspx extensions.
>
>I'm using ASP (Not ASP.NET). There seems to be a myriad of books
>available. Can you recommend one or two that have information on how
>to do what I need done.
>
>BTW, thank you for your help.
>
>J.J.

When I did it for the first time, I used "ASP 3.0 A Beginner's Guide"
by Mercer. The basic thing to do is to create a session object to
hold the login state (true/false). Then have each page check the
session variable to see if it is allowed to display things that are
only visible to users who are logged in. If the session is not logged
in, then render a read-only page. If the session IS logged in, then
render an updatable page.

But like I said, this is a very common thing to do, any good ASP
development book should give you examples.

--Kent
=================================
Kent Smith * IPSO Incorporated
Business * Technology * Solutions
Financial Services and Accounting Systems Consulting

http://www.ipsoinc.com



Relevant Pages

  • Re: How do u set classic ASP session variables from an ASP.NET application???
    ... "How to Share Session State Between Classic ASP and ASP.NET" ... > public class ASPSession ... > public String this ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: session sharing from ASP to ASP.NET
    ... ASP and ASP.NET do not share session data. ... their code within the context of the Classic ASP "Engine". ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: ASP sessionstate
    ... ASP doesn't know or care what browser it ... If html is already sent ... What is a session number? ... Session initialisation is done by the server system, ...
    (microsoft.public.inetserver.asp.general)
  • Re: ASP Session Vars to ASP.Net
    ... There is no single great way to share session state between ASP and ASP.NET. ... Store the data in a common database ... > appropriate security information and stores them in the ASP seesion vars, ...
    (microsoft.public.dotnet.framework.aspnet)
  • session_start problems among other things?
    ... The third party has a shopping cart which must be saved in the ... the hosted server that we do not see on our internal development ... save and restore the cart to the session so as to concentrate the ... ASP.NET APIs could be called from ASP pages but the development was ...
    (microsoft.public.dotnet.framework.aspnet)