| remove user password that IE could cache : how ? |
|
 |
Index ‹ Web Programming ‹ ASP.Net
|
- Previous
- 1
- ASP.Net >> Website security without javascript or cookiesWhat are the pitfalls of passing a token in the url once a user is
logged on so I can remember who they are?
I can easily implement this by adding &token=abcdefghijklmnop123 to
each internal link on my web pages once the user is logged on.
I won't be passing the username or password in the url, just a token
that is created when a user logs on. When the server receives the token
it maps it back to the account id. This saves the user from logging on
all the time and also means I don't rely on javascript or cookies.
I can make the token time out after ten minutes of inactivity. I could
also encrypt the client ip address in the token for further security
and check it on the server. Is this wise? How dynamic can IP addresses
be? Can a surfer's ip address change without dialing off and back in to
the isp?
My "token in the url" proposal isn't used by Amazon and that makes me
think I'm missing some security issue. Amazonseem to use cookies for
all but the secure pages and then seem to use a token in the url over a
https link for the more secure pages, which scrambles the token.
Thanks for any insights
- 2
- Frontpage Client >> Frontpage keeps running producing no error message when trying to open websiteHi,
I can open one website but not another. The other
website opens fine on another computer.
When I try to open the web on the computer that won't do
it frontpage just keeps running with a blank page and no
error message.
I've checked the hard drive, defragmented the disk, ran
detect and repair on frontpage and increased virtual
memory.
Hope someone out there has some ideas?
Thanks so much for reading.
Jerry
- 3
- Frontpage Programming >> Playing two pieces of video in sequenceHow can I program a link to call up two separate pieces of video, one after
another?
I tried the .M3U playlist thing, but had a problem when the first video
would play fine, but the second would only play audio. I tried updating
everything I could find to update, but still couldn't make this work.
Any suggestions would be appreciated.
ed
- 4
- ASP.Net >> "Thread was being aborted" exception on redirect - VERY weird!!Hello,
I have a page that is supposed to do some checking, and if OK, set a
session variable before redirecting to another page. The following code
is a simplified version, I have hard-coded the basket ID and removed a
load of extra checking...
public partial class GoToCheckout : Page {
public void Page_Load(Object o, EventArgs e) {
try {
Session["basketid"] = "178";
//x.Text = "redirecting to PreCheckout.aspx";
Response.Redirect("PreCheckout.aspx");
} catch (Exception ex) {
Response.Redirect("/?msg=" + ex.Message);
//x.Text = "exception - " + ex.Message;
}
}
}
When this page is called, it throws a "Thread was being aborted"
exception when it hits the line...
Response.Redirect("PreCheckout.aspx");
The catch block picks it up and redirects to the home page, putting the
exception message in the querystring. I did this because if I comment
out the redirect in the catch and instead use the (commented out) x.Text
bit (x is a literal, put on the otherwise empty .aspx file for
debugging), then the redirect works fine!!
If I comment out the redirect in the try block and uncomment the x.Text
line there, then the page displays the message "redirecting to
PreCheckout.aspx" exactly as expected.
So, it seems there's some weird problem with the redirect, but I can't
work it out. Nor can I work out why changing the behaviour of the code
in the catch block changes whether the exception is raised or not.
This code has been working fine for a few months now. I have recently
been changing pages to use master pages and themes, which is when I
noticed the problem. However, if I now change this page back to not use
a master or theme, the problem is still there. I am totally baffled, and
would appreciate any help you can offer. TIA
--
Alan Silver
(anything added below this line is nothing to do with me)
- 5
- ASP.Net >> Table or DatagridHello,
Im new in asp.net especially in web base application.
I want to ask about datagrid. I had shown my table on
datagrid, and what I want to ask is how to set the column
height fixed? Because when I have a long word it
automatically set new line instead of hide it. I want it
to be hide like this 928192... with 3 dot at the end of
the word if it is to long.
Is it possible to do it?
Thanks alll
- 6
- 7
- ASP.Net >> IIS x NetscapeDear friends,
How do I do to test my pages in Netspace 7.1 with IIS 5?
When I open any website, is requested an user and password. I put my Windows
XP user and password but return HTTP error 403...
How do I do to configure IIS for open web site in Netscape without
authentication?
Thank you and I'm sorry by my poor english.
RAMON ROCHA
from Brazil
- 8
- 9
- 10
- Frontpage Client >> targetting multiple frames with different contents?Is it possible to target multiple frames with different contents from one
source link.
I have two inline frames for different purpose, yet for a similar topic, how
do I target two inline frames to bring out to different contents when I
select an option from a menu?
I am using FrontPage 2003.
- 11
- ASP.Net >> Adding Validation via OnItemDataBound event (ASP.NET 2.0)OK, I am running into some issues that I cant figure out a work-around.
I am not going to post code cause I figured out WHY my issue is
happening:
-I have a datagrid, and a button that fires a click event.
-The Datagrids onitemdatabound event dynamically creates validation
controls per values from other columns in the datagrid, one of those
controls is a textbox and it is the ControlToValidate of the validation
control.
ie - Basically, think of a shopping cart with a quantity textbox and
another NOT visible column for inventory. During onitemdatabound I
check the inventory (tempInventory = e.Item.Cells(1).Text) and create
the necessary validation for Qty.
Everything works great with client side validation, the problem starts
when I attempt to process validation server side.
When my button with the click event is fired, Page.IsValid is always
true. BUT, when I move the validation control creation to the
OnItemCreated event, it all works fine.
My problem is that the validation relies on data, which OnItemDataBound
has not fired yet for that item.
Any ideas? In theory, I am thinking of creating the validation fully at
itemCreated, then disable and change validator properties at the
itemdatabound event if applicable???? I don't know if that will even
work.
- 12
- 13
- ASP.Net >> DropDownList Selecting itemUsing Visual Studio.net 2003 to create an aspx web form I am having a
problem selecting an item from DropDownListBox with id= ListBoxStudies.
I can see the items from the bound database table but when I click on an item
the selected item stays at itemindex 0. What must I do to have the
itemindex change when I click on an item. What's missing from the following
code?
ListBoxStudies.DataSource = BICDataSet.Tables("protocols")
ListBoxStudies.DataTextField = "Study_name"
ListBoxStudies.DataValueField = "irb_number"
ListBoxStudies.DataBind()
I have tested this using a submit button and the _SelectedIndexchanged event
and I still always get selectedindex = 0.
Private Sub DropDownListStudies_SelectedIndexChanged(ByVal sender As
System.Object, ByVal e As System.EventArgs)
Dim study_name As String = Session("study_name")
study_name = ListboxStudies.SelectedItem.Text
End Sub
--
Derek V. Taylor
UCI Brain Imaging Center
- 14
- Frontpage Client >> video streamingI am using windows media encoder to stream live video.
How can I add this live stream on my web page, in a player?
The stream is http://tvministry.woomc.org:1123
How would I script this in frontpage so that viewers can access the live
stream in an embedded player on my site?
- 15
- ASP/Active Server Pages >> ASP Connection String for Privileged AccountI don't know if this is a unique problem, or I'm going about it the
wrong way. I currently connect to one of our SQL servers via a
priviliged account (by using RUNAS). Works with no problem. I now
need the ability to connect to the same SQL server using ASP. I have
the following connect string, but I'm not sure how to specify the
domain in the string, or is there some other way?
<%
Set demoConn = Server.CreateObject("ADODB.Connection")
demoPath="DRIVER={SQL Server};" & _
"SERVER=mysqlserver;UID=myusername;" & _
"PWD=mypassword#;DATABASE=qdb"
demoConn.open demoPath
%>
Thanks!
|
| Author |
Message |
Tom_Slycke

|
Posted: Thu Sep 14 08:33:07 CDT 2006 |
Top |
ASP.Net >> remove user password that IE could cache : how ?
Hello,
i have a Asp.net V2 login page with a password to enter.
In some case, a user could forget and tell IE to save its password :
How to prevent it ?
Is there a way to disable it ? to block it ?
Or could i create a button that save another text (replace) the cached
password ? the user will be prompted to click the button to remove its
cached password .... how to do it ?
Thanks a lot ...
Web Programming395
|
| |
|
| |
 |
Cowboy

|
Posted: Thu Sep 14 08:33:07 CDT 2006 |
Top |
ASP.Net >> remove user password that IE could cache : how ?
I know of no way to stop a user from saving his password in IE, as that is
his prerogative. I am not sure why you would want to stop a user from doing
this either.
If it can be stopped it will be through client side script, however.
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
*************************************************
Think outside of the box!
*************************************************
"moi" <EMail@HideDomain.com> wrote in message
news:EMail@HideDomain.com...
> Hello,
> i have a Asp.net V2 login page with a password to enter.
> In some case, a user could forget and tell IE to save its password :
> How to prevent it ?
>
> Is there a way to disable it ? to block it ?
>
> Or could i create a button that save another text (replace) the cached
> password ? the user will be prompted to click the button to remove its
> cached password .... how to do it ?
>
> Thanks a lot ...
>
|
| |
|
| |
 |
Ken

|
Posted: Thu Sep 14 09:47:52 CDT 2006 |
Top |
ASP.Net >> remove user password that IE could cache : how ?
Salut Moi,
I'm not sure this is what you're after, but you might want to try adding
AUTOCOMPLETE="off" to the textbox:
<INPUT TYPE="password" AUTOCOMPLETE="off">
This is supposed to prevent the browser from suggesting values for the
field.
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/dhtml_reference_entry.asp
More here:
http://msdn.microsoft.com/workshop/author/forms/autocomplete_ovr.asp
"If a Web author does not want users to see the AutoComplete feature for a
password field, the AUTOCOMPLETE attribute can be used to disable the
feature for that single field, as in the following example:
<INPUT TYPE = password
NAME = oPassword
AUTOCOMPLETE = "off"
>
In addition, if a Web author does not want users to see the AutoComplete
feature for any field in a form, the AUTOCOMPLETE attribute can be used to
disable the feature for the entire form.
<FORM AUTOCOMPLETE = "off">
:
</FORM>
"
"moi" <EMail@HideDomain.com> wrote in message
news:EMail@HideDomain.com...
> Hello,
> i have a Asp.net V2 login page with a password to enter.
> In some case, a user could forget and tell IE to save its password :
> How to prevent it ?
>
> Is there a way to disable it ? to block it ?
>
> Or could i create a button that save another text (replace) the cached
> password ? the user will be prompted to click the button to remove its
> cached password .... how to do it ?
>
> Thanks a lot ...
>
|
| |
|
| |
 |
| |
 |
Index ‹ Web Programming ‹ ASP.Net |
- Next
- 1
- ASP.Net >> redirecting a form's POST targetnot sure if that subject makes sense ;0)
I've been asked to do something I've never had to do; Create a form and
"hide" the url that it posts to. They don't want a user to be able to view
the source and see the REAL url that the form is posting to, they don't mind
if the user see "a" url, just not the actual one.
For example:
The site's URL is www.someForm.com and the form needs to post it's data to
www.someFormDatabase.com
I want to post the form to www.someForm.com then on the server side
"re-post" it to www.someFormDatabase.com
I hope you are following me, if so, does anyone have any idea how to do
this? I'm sure it's possible, I've just never needed to do it before. Any
suggestions or help very much appreciated.
Thanks for reading,
Steve
- 2
- ASP.Net >> User sending email attachments?I know how to send emails using ASP.NET. How can I allow the user to attach
a file to an email that they submit (via an ASPX online submission form)?
Ex: Allow user to submit a resume along with their info.
- 3
- ASP.Net >> Why does web.config get updated?I have a solution with a web service as the starting project. The web
service references other projects in the solution, which in turn access
other assemblies (some of which are in the GAC). When I run, VS2005
stuffs a bunch of assemblies (that are 2 or 3 levels removed from the
web service) into into web.config into the
configuration/compilation/assemblies.
This is really annoying. How can I turn it off?
Thanks.
- 4
- Frontpage Client >> FlagsHi,
Does anyone know what those little flags mean in the
Design mode.
The page looks fine and I can't see the problem but I am
assuming there is one.
Thanks for any help.
Stephen
- 5
- Frontpage Programming >> Configuration errorCan anyone tell me what to do about this? I tried "true" and "false". Get
same error message. Thanks
Configuration Error
Description: An error occurred during the processing of a configuration file
required to service this request. Please review the specific error details
below and modify your configuration file appropriately.
Parser Error Message: It is an error to use a section registered as
allowDefinition='MachineOnly' beyond machine.config.
Source Error:
Line 11: debugging ASP.NET files.
Line 12: -->
Line 13: <compilation defaultLanguage="vb" debug="false" />
Line 14:
Line 15: <!-- CUSTOM ERROR MESSAGES
Source File: d:\webs\dsull3\genealogyweb\web.config Line: 13
- 6
- ASP.Net >> How to reference method in usercontrolHi
I want to call a method called test() on my user control type MyControl (see below). The question is how to reference this? I tried :
(MyControl)(Panel1.FindControl("myusercontrol1")).test();
page:
<asp:panel id="Panel1" runat="server">
<TABLE id="Table1" runat ="server">
<TR>
<TD >
<uc1:myusercontrol id="myusercontrol1"runat="server"></uc1:myusercontrol>
</TD>
</TR>
</TABLE>
</asp:panel>
Thanks
Dik
**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
- 7
- ASP.Net >> RequiredFeildValidator HELP!!Hi all,
I am using the RequiredFeildValidator on my forms, which works well when i
want to do Adding or Updating on that form, however..
If i go to that form, then try going to a different form, it won't let me
leave because those certain textboxes require info in them, even though i
only want to use those require validators for only the Adding and Updating
buttons...
what should i do????
--
AdamPC@hotmail.com
- 8
- Frontpage Programming >> frontpage email reply formI used the Frontpage 2003 templete for the email reply form. After I set the
properties and close the property box, I get an error message that "the
server is not configured to send emai"l. Before I published the site, I
enabled Frontpage extensions on the server.
I called the hosting company and they told me it will work with additional
programing to the form. I have no idea what additional programing needs to
be done.
Can anyone help me?
- 9
- ASP/Active Server Pages >> Please help with sessionsHi,
I am making an online quiz. I want to write the answers to
all the questions along with the user name to an output
file. Also, since there may be multiple users accessing
the quiz at the same time, I would like to use sessions.
Can someone tell me if all the answers have to be session
variables?
Thanks.
Ram
- 10
- ASP.Net >> Web Services securityHi
2000 Server IIS 5
I have a web service using anonymous access, however I need to be able to
output to a log file.
I've got a log.txt file in the same directory but I keep getting errors when
trying to write to the file, I've tried adjusting the permissions
accordingly but they don't seem to make any difference.
Any suggestions?
Thanks
Kev
- 11
- Frontpage Client >> Publishing port info needed for router firewallI am using FrontPage 2000 to publish and maintain a web
site.
I have recently switched from Dial-up to DSL with an
Asante FR3004FLC router as the gateway for my home network.
I use this router because it has a very good firewall
built in to it but since installing it, I have not been
able to publish to the web site (or do a Windows update or
do an Office update, etc....).
In trouble shooting the problem, I reconfigured my system
to use the dial-up modem instead of DSL. I was able to
publish updates to the web (and do a Windows Update,
etc...). I then connected my ethernet cable directly to
the DSL modem and was able to publish the web updates (and
do a Windows Update, etc...). This told me that the
router was preventing me from publishing the web (and do a
Windows Update, etc...)when it was in the circuit.
I called Asante support and I was told that the router was
doing exactly what it was designed to do and that all I
had to do was open the ports needed by Frontpage to
publish and it would work.
I have searched the web and the Microsoft Knowledge base
for the port information and have found nothing! I have
sent a message to Microsoft Support about this issue with
no response except to say that they have received my
request and that it is in the hopper.
Does any one know what ports are used by FrontPage 2000??
Please pass the info to me via this newsgroup or directly
to me via my email.
I also need to have the same port info for Windows Update,
Office Update, and for downloading office plugins.
Thanks, Pete
- 12
- ASP.Net >> Page output caching for database driven pages?What are best practices for page output caching on pages that are dynamically
generated from database tables.
Our site has left-hand navigation that is comprised of dynamically generated
menus of product categories. The categories are taken from several database
tables which rarely change.
This left-hand navigation is included on every single page in the site and
as such is wrapped up in a user-control. However, when I enabled caching on
the user-control, all DHTML and events cease to work properly.
Really confused!
Ben
However, when I tried applying
- 13
- ASP/Active Server Pages >> ASP error in IE<%
Option Explicit
Dim RS, WRS, CRS, cst conntemp, sqltemp, SQL, CNT, MVCNT
cst = "Provider=Microsoft.Jet.OLEDB.4.0;" & "Data Source=" & Server.MapPath("\db\xxx.mdb")
set conntemp = Server.CreateObject("ADODB.Connection")
conntemp.open cst '<== Line 6
When viewing this page in IE, if I refresh the page or click on a link to another page, I
get 2 dialog boxes, one after the other, when using IE. Doesn't happen in Firefox.
"A runtime error has occured.
Do you wish to debug?
Line 6
Object required"
Then the page reacts normally, it either refreshes, or goes to the linked page.
Thanks,
MikeR
- 14
- IIS >> Permission to use object denied (500.100 Internal Server Error)Hello,
I'm having a problem with a site that I am developing...here is the
info..any help would be great!!
Developed 4 DLLs in VB6
Running Win 2000 Pro
IIS 5
ASP accesses one of my objects and gives the error listed below. I
have other objects that work fine (and do the same thing behind the
scenes). Don't really know where to start with this one. Did a search
on google, looked for KB articles, but couldn't find anything. Thought
that permissions were correct since my other objects were working but
apparently they aren't. Even tried using anon access with the
administrator account but that behaved in the same manner. On other
thing that i get is some sort of automation error "every once in a
while" not every time...
The server is new and has not had IIS Lockdown run yet.
Thanks in advance for any help you could give!
HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services
--------------------------------------------------------------------------------
Technical Information (for support personnel)
Error Type:
BenchmarkingTool (0x800A01A3)
Permission to use object denied
/BenchmarkGraph.asp, line 53
- 15
- ASP/Active Server Pages >> Menu ListHello,
I have a form page in ASP where the first menu/list function as a filter of
the second menu list. Once I select an item form the first combo I get the
second menu full of options. This is correct. My probem is that the first
combo gets the default value again and I do not see what I did choose.
I do not know if I explained this correctly. Hope someone can understand me.
Thanks a lot, Lina
|
|
|