Wrox Programmer Forums
|
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. 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 Databases 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 June 20th, 2003, 10:13 AM
Registered User
 
Join Date: Jun 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default pass userid password across pages in ASP

Hello,
   I need a help from anyone who can. I've developed an intranet webpage which uses Access database. When users login with their userid and password the process works fine and the authenticated user is directed to the next page and the invalid user is directed back to the login page. The problem starts here; I want to pass the user id and password across pages i.e., from one page to another. I would like to know if there is any method or secured way to pass userid and password across pages. Please let me know, any sort of help will be appreciated.

Thanks,
 
Old June 22nd, 2003, 12:07 AM
Authorized User
 
Join Date: Jun 2003
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ummm....

Im no expert...
But i think you can use Session Variables
...
Session("id") = "BLAH"
Session("password") = "BLAH"

Hope this helps
 
Old June 23rd, 2003, 09:18 AM
Registered User
 
Join Date: Jun 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks, It does work and has solved one of my major problems. I knew session works but just wanted a hint as I was not sure. Thanks again.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Pass values between pages msbsam ASP.NET 2.0 Professional 1 July 7th, 2008 06:13 AM
How to pass values between different pages dipanjan22 ASP.NET 1.x and 2.0 Application Design 4 September 30th, 2007 02:02 PM
Passing userid & password from URL virendrapotdar J2EE 3 November 24th, 2006 08:05 AM
Simple cookie to remember userid and password Dayzed Classic ASP Basics 1 April 14th, 2004 08:06 AM





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