I have asp.net website, and have email functionality implemented for forget password and some other module.
Email works fine, but some time it bouncing back to sender address.
I have spent 2 days for this and still not get solution.
Following notification (Delivery status Notification) i get at me sender address with email,
1. Final-Recipient: xxxxxxxxxxx
Diagnostic-Code: smtp;504 5.5.2 <xxxxxx>: Helo command rejected: need fully-qualified hostname
2. Final-Recipient: xxxxxxxx
Diagnostic-Code: smtp;550 Access denied - Invalid HELO name (See RFC2821 22.214.171.124)
I have a treeview control that gets populated at runtime with a pyramid of employee names. I put the css scrollbar on the viewby putting overflow:auto" in the tag where the treeview is located. The users are now asking me to to have the scrollbar go down in the treeview where a treeview item is selected.
How do I make a scroll bar to go to a place where the treeview has been selected?
is not available in asp.net need another way.
I have table with using jquery that contains paging. I met the problem when implement the paging, I click the button Edit (inside table on its row) - but the popup doesn't not show. Please give me some advice for solution...
You're not encrypting the password; you're generating a one-way hash. You cannot decrypt it.
You'll need to store the salt in the database against the user's record. When you need to verify the password, you retrieve the salt and the hashed password. You combine the entered password with the stored salt, generate the hash, and compare it to the hashed password.
I have a form with many dropdowns and text boxes and a file upload.
I want to display the file path as soon as it uploaded without refreshing the entire form.
I am able to upload the file but the file path doesnot get displayed in the label.
however after refreshing the entire page i get the file path displayed in the label
Please help me
I want to create a section Question of the day on my asp.net web page.What i want is on my home section the question is displayed in short and when a user clicks on view more he is redirected on another page with full questions and links to previous and next questions.I want it to be database driven that is admin can add daily a question.Please help i have no idea how to approach.
I have a application that did use query strings and IFrames. I changed all of the IFrames to usercontrols and stored what was being passes as query strings to Session variables. In my usercontrols I use Response.Redirect("~/MyPage", true); to navigate. I seem to be loosing Session and was not sure of the cause. My question is does this method of navigation clear session? Also, if this does clear session how can I do a redirection to another webpage from with-in usercontrols & nested usercontrols from the code behind and still retain session?
The second argument terminates the current response. It's a good idea to set that to true usually.
You are correct, and in my experience this holds true - nothing in the Response.Redirect behavior affects session values.
Possibly he's storing sessions without cookies, and he's losing the query string value which is used in that case to keep the session alive.
Keep in mind, Response.Redirect is a CLIENT-SIDE redirect, meaning control goes back to the browser, and it requests the new page. When that request comes in, it looks like a new request, so if there's no cookie to tell the server the SessionID, it's going to be lost if you don't pass the query string value back as part of the redirect URL. I often take advantage of that to "reset" the current page by redirecting back to itself.