|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
how to preserve a userid and password information
Hello Everyone,<br><br> Using ASP I'm trying to logon to a "*.mdw" database. I'm successful there and once the connection is established I'm directing the user to another asp page to select the options they want. Can anyone tell me how do I preserve a userid and password across all the pages each time when a user is directed to different pages they view so that they don't have to logon again and again. Any help will be appreciated. <br>Thanks.....<br><br>-Kiran
|
|
#2
|
|||
|
|||
|
If you are having the user's login thru a form, you could set session variables for each value upon successful login. <div class="msgQuoteWrap"><div class="msgCode"><br><%<br>'-- Set session variables<br>Session("username") = username_value<br>Session("userpass") = password_value<br><br>'-- Get session variables<br>username_value = Session("username") <br>password_value = Session("userpass") <br><br>%></div></div><p> </p><p><hr size="1" width="50%" align="left" />dotNetBB Forum Developer<br><b><i>Building A Better Community, One Post At A Time</i></b><br><a href="http://www.dotnetbb.com" target="_blank">www.dotnetbb.com</a></p><p><i>Last Edited : 2/10/2003 4:14:45 PM GMT</i></p>
|
|
#3
|
|||
|
|||
|
Thanks Andrew, it works. Thanks for the help.
|
![]() |
| Viewing: ASP Free Forums > Database > Microsoft SQL Server > how to preserve a userid and password information |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|