|
Hi all
I want to know that what is the method I can use for changing password of a existing member of my developing web site.
Have any method like ExampleChangingPassword(email, newpassword)?
shahdat
|
|
|
|
|
Sometimes, you need to have actual ideas, and write actual code yourself.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
Obviously, you have to write some codes by yourself to implement that. A general solution is:
1) A table in your DB stores the email and password of all members.
2) A form in your website has three fields: email, old password and new password.
3) After the member submits the form, you will match the email in your DB and accordingly change his password.
4) At last, you need to send a mail to the member to notify his password change.
Notes: If a member forget his password and the stored format of the password is 'SHA1', he will need to answer some extra questions for security to get a newly initializing password provided by your system.
|
|
|
|
|
The stored password have in 'SHA1' format. But I try to develop forgot password section like facebook and tagged social networks. At the last part of this section a member have to enter his/her email and new password.How Can I change the stored password based on email and new password using any method? Please Help me.
shahdat
modified on Monday, April 27, 2009 5:28 AM
|
|
|
|
|
hi, i had a javascript for confirmation to delete. When i click the button the javascript is rendered with message "are u sure to delete?" and two buttons "OK" and "Cancel", Isn't it possible to change the OK and Cancel Buttons to "Yes" and "No" button. it's urgent. please help . thanks in advance.
|
|
|
|
|
trimandir prajapati wrote: it's urgent
No, it's really not. I assume this is a paid job, homework is rarely 'urgent', or rather, it wouldn't set a task like this, because it;s not trivial and pointless.
You should read a few basic ASP.NET books before taking on any paid work.
The text can't be changed. You'd have to create your own modal popup to do that.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
how to creat own modal pop up then
|
|
|
|
|
Well, you'd basically create a form which acted as your yes/no form, or you could use a floating DIV, I guess. Either way, I would use google, it's a common enough task that there's no point in reinventing the wheel, and I get the feeling you're not going to respond well to anything less than full source code anyhow
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
use javascript prompt for you are requirment
your's subbu
|
|
|
|
|
Hi friends
can anybody help me to create MDI application using C#.Net 2008
In advance thanks
|
|
|
|
|
Member 4587679 wrote: can anybody help me to create MDI application using C#.Net 2008
using ASP.NET ?
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
Hi, mybe you've a wrong post. this thread only for asp.net
if want a mdi form to your application, click your form then in property box theres a mdi/container set to true.
Hope this one can help.
Thanks
Hi, Please select Good Question if my answer are fit to your Question.
|
|
|
|
|
hi frns,
I have a button, on the click of which the whole page is getting refreshed. I am using it only to make a div display as 'block' or 'none'. Is there any other way than using AJAX to stop refreshing the whole page?
scarface
|
|
|
|
|
scar_face wrote: I am using it only to make a div display as 'block' or 'none'.
Then why are you using server side button. or why are you doing it in server side. Do the job in Client Side. You can easily do it using javascript only.
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
I am taking a snapshot of a computer and storing it on a web server i.e. it has URL
In the ASP.net/Ajax web page i added a updated panel, timer, and image field. in every 3 seconds i want my image to be refreshed based on the new screen shot i took.
That doesn't work since the response is always getting me the image from the hard disc (temp folder). Here is a list of what i tried and also didn't work
1. Cache control
2. expiring
3. drawing image on asp.net (couldn't find it). I was trying to generate the image dynamically by drawing it every 3 seconds.
4. adding a query for example "http://0.0.0.0/bla.jpg?p="+new date;
5. the meta refresh tag
for 4 and 5 i get continues flickering and my temp folder size increase and i don't want that
If you can help solve this problem you really will help all of the people facing this problem because i searched a lot and couldn't do it.
Thank you
|
|
|
|
|
Change the URL to the image every time ( that's what the AJAX should do ), so that IE has to load a new image, not reload an old one.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
This would work but if every image is 200kb and on every request it stores a copy on hard disc then the hard disc would run out of space. from my toying around with it if in my event code changes the image to another image on the server that works fine however, same image is really a pain. I tried several cache cleaning methods i found on Google but they don't seem to solve the problem.
|
|
|
|
|
Yeah, you obviously need to delete your old image when the new image is requested, or have enough HDD space to store them all.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
Hi Dear
I use VS2005 (ASP.NET 2) & SQL Server 2005
In a Gridview i have a column that is a foreign key & it's data type is TinyInt. I want to show another data field that is related with master table, like a ComboBox that has 3 parameters (DisplayMember , ValueMember & SelectedValue), but there isn't any SelectedValue paramete in my Gridview !
How can i do that ?
|
|
|
|
|
You have to find the combo box in the row that is selected and then get it's selected value. The combo box, not the grid view row, contains the value.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
Hi, set your gridview with a datakeys.
Datakeys one of the property of your gridview.
datakeys = [columnfield from database]
|
|
|
|
|
Hi,
I have two tables LaptopBrandsTable and LaptopModels table. In my asp.net page, i have a searchtxtbox.
I want to generate a page , that shows all models for a particular brand in a page, which when clicked shows details for the laptop. I might have 100s of laptop under one brand so if the entries become more than 35, i want to start another column in the page. Which asp.net control would help me do this, and how would i make the models appear as links..
eg when searched for acer, i want to show
acer aspire 1 acer aspire 36 acer aspire 71
acer aspire 2 acer aspire 37
.......... ........
acer aspire 35 acer aspire 70
Thanx..
best regards,
mark
|
|
|
|
|
Use a repeater to generate your links, and then just form URLs that pass an id to your final page to read the details from the DB
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
Hi,
in asp.net, i have the following errors,
System.Reflection.TargetInvocationException was unhandled by user code
Message="Exception has been thrown by the target of an invocation."
Source="mscorlib"
StackTrace:
at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
at System.Web.UI.WebControls.ObjectDataSourceView.InvokeMethod(ObjectDataSourceMethod method, Boolean disposeInstance, Object& instance)
at System.Web.UI.WebControls.ObjectDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments)
at System.Web.UI.WebControls.ListControl.OnDataBinding(EventArgs e)
at System.Web.UI.WebControls.ListControl.PerformSelect()
at System.Web.UI.WebControls.BaseDataBoundControl.DataBind()
at TimeEntry_aspx.Page_Load(Object sender, EventArgs e) in h:\TimeTracker1\TimeTracker\TimeEntry.aspx.cs:line 40
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
thanks in advance
murugavel
|
|
|
|
|
Did you google the error ? Work out what page is causing the error ? Is it just one page ? Do you know what line of code does it ?
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|