473,320 Members | 1,838 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Issue with login-password in a web page

Hi ,

Please give me any links/examples to create a page which can store my
password in cache, call that cache when I enter my userid, automatically
insert my password in the text box later.

Please suggest.


Nov 18 '05 #1
2 1363
If you mean storing any value in the Cache Object then it would't be a correct solution. The Cache object is global to the application (similar to the Application Object, but allow you to set expiration, dependencies, etc), so every user would access the same values.

In your scenario you could use a cookie (storing encrypted values) if you want to persist that password even after the session expires

In your case I understand you want to use Session objects, you could check for the existence of that Session object every time you want to use that stored password

in the login form:

Session("myPassword") = txtPassword.Text.Trim

for password retrieval:

'check for a valid user Id, and if validation succeeds retrieve password
if Session("myPassword") Is Nothing Then
txtPassword.Text.Trim = Session("myPassword")
End If

Hope this helps

Alan Ferrandiz Langley
www.geekswithblogs.com/aferrandiz

"Rheadore" <an*******@discussions.com> escribió en el mensaje news:O4*************@tk2msftngp13.phx.gbl...
Hi ,

Please give me any links/examples to create a page which can store my
password in cache, call that cache when I enter my userid, automatically
insert my password in the text box later.

Please suggest.



Nov 18 '05 #2
Hi Rheadore,

This would be a feature of the browser and not something you could do
from ASP.NET on the server side.

--
Scott
http://www.OdeToCode.com

On Mon, 23 Aug 2004 18:30:26 +0530, "Rheadore"
<an*******@discussions.com> wrote:
Hi ,

Please give me any links/examples to create a page which can store my
password in cache, call that cache when I enter my userid, automatically
insert my password in the text box later.

Please suggest.


Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Robert Misiorowski | last post by:
Hello, I have a very perplexing (at least to me) problem that hopefully someone can help me with. I'm making a site with a 3 column layout. In the middle column (my fluid column) I am trying to...
0
by: Muralidhar Chennoju | last post by:
Hi All, I'm working on a web application. We have a typical requirement, my application has a "Forms" Authentication and I should also provide an anonymous login provision and this anonymous...
9
by: Stan | last post by:
Here is my scenario: Web server ------------ Framework 1.1 Application proxy for the serviced component Component server ------------------- Framework 1.0
3
by: AGB | last post by:
Hi all, I have a two hop issue. I have two machines in the same domain--one webserver and the other hosting SQL Server. I am using impersonation and integrated windows authentication but for...
0
by: fadi | last post by:
Hopefully someone seen this and knows best way around it. When using FormsAuthentication and using FormsAuthentication.SetAuthCookie, ASP.NET creates a cookie similar to the domain URL. For...
2
by: niradjoshi | last post by:
I made two SQL Server 2000 as linked server using same remote login These both server are running on different Domain Configuration Detail 1. Server A - MS SQL Server 2000 SP4, windows 2003...
3
by: JD | last post by:
Hello, I am dealing with an issue, that although probably simple, is driving me crazy. I am trying to connect to a SQL 2005 Express database through a web service using the following code: ...
0
by: Pedro Vera | last post by:
I am having random user complaints about login pages basically sitting dead and reacting properly to a login. We are using the standard login control, and we are using...
0
by: fred64 | last post by:
Hello , I fought very hard and succeed to do a remote debug from a client with VS2003 on XP HOME to a Server with XP PRO. This is on a Workgroup : I created same user/pwd with admin rights...
1
by: Edmund | last post by:
I hope someone can help me out set up the security properly. I have Microsoft Access 97 and Access 2000 in my computer and I developed my database with Access 2000 with the updated patch...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.