Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Professional
|
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 22nd, 2007, 08:29 PM
Authorized User
 
Join Date: Mar 2007
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default Authentication, Login, logout and security feature

Dear friend,


i wonder how to make a authentication, login and logout in ASP .NET and some security features..

Questions :

1. how to make this feature :

if the user has not login yet and the user types http://www.market.com/items.aspx,

then user can not do it and he will be directed to login.aspx.........

2.
for example, user has login successfully, then he can browse items.aspx.
but it could be that he does not log out, but simply close the browser (items.aspx)...

how to make it automatically logs out when user closes the browser (items.aspx)..




pls help if you know the samples and links.

thank you,
hendy


 
Old March 22nd, 2007, 08:33 PM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Do a google search on FormsAuthentication it should solve your problem.

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
================================================== =========
Why can't Programmers, program??
http://www.codinghorror.com/blog/archives/000781.html
================================================== =========
 
Old March 23rd, 2007, 08:04 AM
jminatel's Avatar
Wrox Staff
Points: 18,059, Level: 58
Points: 18,059, Level: 58 Points: 18,059, Level: 58 Points: 18,059, Level: 58
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2003
Posts: 1,906
Thanks: 62
Thanked 139 Times in 101 Posts
Default

This is something you'll find covered pretty well in our ASP.NET books too. Such as:
Beginning ASP.NET 2.0:
http://www.wrox.com/WileyCDA/WroxTit...764588508.html
or
Professional ASP.NET 2.0 Special Edition
http://www.wrox.com/WileyCDA/WroxTit...470041781.html
either of those would be a good choice depending on your level of expertise and will surely answer many more of the questions you are going to have. :)


Jim Minatel
Senior Acquisitions Editor
Wiley Technology Publishing
WROX Press
Blog: http://wroxblog.typepad.com/
Jim's Book of the week: No book this week - Donate to the Red Cross!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Authentication, Login, logout and security feature hendyhanusin ASP.NET 2.0 Basics 0 March 22nd, 2007 08:58 PM
Authentication, Login, logout and security feature hendyhanusin ASP.NET 1.x and 2.0 Application Design 1 March 22nd, 2007 08:55 PM
Authentication, Login, logout and security feature hendyhanusin ASP.NET 1.x and 2.0 Application Design 1 March 22nd, 2007 08:39 PM
Authentication, Login, logout and security feature hendyhanusin ASP.NET 1.0 and 1.1 Basics 0 March 22nd, 2007 04:15 AM
login logout... sunmeet122 Classic ASP Basics 2 December 5th, 2003 11:39 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.