Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics 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 November 6th, 2003, 01:57 AM
Authorized User
 
Join Date: Aug 2003
Posts: 78
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to spraveens
Default implementing logout

Hi

I have not used any session ,basically the login verifies the username/password supplied from the database and redirects the user to the home page.Now how do I implement Logout?pls give code.

Thank you

Praveen


 
Old November 6th, 2003, 04:44 AM
Authorized User
 
Join Date: Aug 2003
Posts: 78
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to spraveens
Default

Hi
   The login does not have any mechanism to store the details of the user.it taked the username/password from the user and then opens the database and then if correct than redirects the user to the home page else gives a password error message.now I want to implement a logout which would clear the cache (or page expires) and force the user to re login after pressing the Logout.pls give code

Thankz
praveen

 
Old November 6th, 2003, 05:07 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 596
Thanks: 1
Thanked 3 Times in 3 Posts
Default

spraveens,
Just checking the database for a users existance does not really constitute logging in.
The user would be able to navigate to the redirection page anyway.
How do you tell on the redirected page that the user has logged in?



======================================
They say, best men are moulded out of faults,
And, for the most, become much more the better
For being a little bad.
======================================
 
Old November 6th, 2003, 06:10 AM
Authorized User
 
Join Date: Aug 2003
Posts: 78
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to spraveens
Default

Hi
 Thanks , Is it possible that only when I press a button all the cache is then cleared?
praveen



 
Old November 6th, 2003, 12:15 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Please see the other thread regarding this topic.

Peter
------------------------------------------------------
Work smarter, not harder.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Implementing "Logout" spraveens Classic ASP Databases 13 May 5th, 2006 03:17 AM
logout TIME and logout DATE crmpicco Classic ASP Databases 2 January 20th, 2005 12:01 AM
logout TIME and logout DATE crmpicco Classic ASP Basics 0 January 19th, 2005 07:57 AM





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