Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Building Controls > Application variables

Reply
Thread Tools

Application variables

 
 
Teo
Guest
Posts: n/a
 
      10-27-2005
Hey guys!!
I am building this application that I want users to log into my system with
their login and password stored on a DB.
After I do the check I want to clear them to access a specific folder on my
website that will be restricted only to them.
What is the best way to create an application variable file that will store
the user information and a specific timeout for when the user stops using
the system it kicks him out back to the login screen.
Is there a way to do this in ASP.NET?
I am familiar with ColdFusion but never done it with ASP.
Any help is appreciated,

Teo


 
Reply With Quote
 
 
 
 
Scott Mitchell [MVP]
Guest
Posts: n/a
 
      10-28-2005
Teo wrote:
> I am building this application that I want users to log into my system with
> their login and password stored on a DB.
> After I do the check I want to clear them to access a specific folder on my
> website that will be restricted only to them.
> What is the best way to create an application variable file that will store
> the user information and a specific timeout for when the user stops using
> the system it kicks him out back to the login screen.
> Is there a way to do this in ASP.NET?
> I am familiar with ColdFusion but never done it with ASP.


Teo, this is probably not the best newsgroup to ask this, try the
microsoft.public.dotnet.framework.aspnet newsgroup instead next time.
This newsgroup is for discussions on building custom, compiled server
controls.

In any event, ASP.NET 1.x does provide an easy-to-use forms-based
authentication piece, see this article for more info:

Using Forms-Based Authentication in ASP.NET
http://www.4guysfromrolla.com/webtech/110701-1.shtml

ASP.NET 2.0 provides the membership functionality which makes doing this
stuff REALLY easy.

--

Scott Mitchell [ASP.NET MVP]
http://www.velocityreviews.com/forums/(E-Mail Removed)
http://www.4GuysFromRolla.com/ScottMitchell
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Put variables into member variables or function variables? tjumail@gmail.com C++ 9 03-23-2008 04:03 PM
retain application variables on application restart =?Utf-8?B?Q2hhaW5zYXdEdWRl?= ASP .Net 1 02-03-2006 04:03 PM
Re: Class public shared Variables vs. Application Variables in ASP.NET avnrao ASP .Net 0 05-07-2004 05:28 AM
Global Variables? Multi-Application Variables? Tony Archer ASP General 5 11-25-2003 10:34 PM
Global variables - application variables vs include file mark4asp ASP General 1 09-03-2003 01:30 PM



Advertisments