|
|
Yes it is installed, and required for Product Activation (OOBE) among other things.
"It's true that hard work never killed anyone. But I figure, why take the chance." - Ronald Reagan
That's what machines are for.
Got a problem?
Sleep on it.
|
|
|
|
|
What error(s) are you getting? (if any)
post the vbscript code so that somebody can better understand the problem.
"It's true that hard work never killed anyone. But I figure, why take the chance." - Ronald Reagan
That's what machines are for.
Got a problem?
Sleep on it.
|
|
|
|
|
I have a treeview control that gets populated at runtime with a pyramid of employee names. I put the css scrollbar on the view by 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?
Note: treeView1.SelectedNode.EnsureVisible();
is not available in asp.net need another way.
Got some links in stackOverflow but no use.!!
|
|
|
|
|
|
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...
|
|
|
|
|
Hi,
I am using the following code to encrypt password with salt. I want to know can I decrypt so I can verify if the password is correct or it knowing that I am storing the passwords in MySQL,.
public enum HashMethods
{
SHA512
}
private static string HashSHA512Managed(string saltedPassword)
{
UnicodeEncoding uniEncode = new UnicodeEncoding();
SHA512Managed sha = new SHA512Managed();
byte[] bytePassword = uniEncode.GetBytes(saltedPassword);
byte[] hash = sha.ComputeHash(bytePassword);
return Convert.ToBase64String(hash);
}
public static string EncryptPassword(string password, string passwordSalt, HashMethods method)
{
string siteWideSalt = Guid.NewGuid().ToString();
string encryptedPassword;
switch (method)
{
case HashMethods.SHA512:
encryptedPassword = HashSHA512Managed(siteWideSalt + password + passwordSalt);
break;
default:
encryptedPassword = HashSHA512Managed(siteWideSalt + password + passwordSalt);
break;
}
return encryptedPassword;
}
Technology News @ www.JassimRahma.com
|
|
|
|
|
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.
http://stackoverflow.com/questions/326699/difference-between-hashing-a-password-and-encrypting-it[^]
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Perfect answer.
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
nils illegitimus carborundum
me, me, me
|
|
|
|
|
|
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 suppose that you upload your images to "~/Content/images".
The following script may work for you. Pay attention to the attribute "src".
src="@Url.Content("~/content/images/")@item.ImgFileName"/>
You may find more for razor and mvc3 in my article.
http://www.codeproject.com/Articles/565513/How-to-series-about-MVC-jQuery-JSON-paging-mapRout
|
|
|
|
|
Hi,
I have the following url:
www.mydomain.com/signin
that's without .aspx becauzse I am using route mapping like this:
routes.MapPageRoute("volow_signup", "Signup", "~/Signup.aspx");
but sometimes I want to let the redirected to another page other than the member home and I wanted to add this in the url then when the user signed ijn I will redirect him to that page.
How can I do this?
Technology News @ www.JassimRahma.com
|
|
|
|
|
You can pass it as parameter in your querystring like,
www.mydomain.com/signin/newpage=testpage
hope this help you. let me know for your any query.
Thanks
-Amit Gajjar (MinterProject)
|
|
|
|
|
I am getting:
A potentially dangerous Request.Path value was detected from the client (:).
Technology News @ www.JassimRahma.com
|
|
|
|
|
check this[^] thread, this may help you.
Thanks
-Amit Gajjar (MinterProject)
|
|
|
|
|
hello,
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?
Thanks,
Steve Holdorf
|
|
|
|
|
I thought the response.redirect took 1 argument.
The session values hold on all pages, the lifetime of using the website unless 20 minutes of non-activity passes by, then it expires.
Or a session.remove is issued.
But you do have to check for the existence of the session object first, before trying to use the value, or before removing or destroying the object.
|
|
|
|
|
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.
In other words... this might work...
Response.Redirect("~\Page.aspx?" + Request.QueryString.ToString(), true);
|
|
|
|
|
Message Closed
modified 9-Apr-13 14:04pm.
|
|
|
|
|
Yeah if you turn off cookies the session still works by using query strings, and it will default to this mode if a user has set their option to not accept cookies, so you don't have total control over it. It's a good idea to make sure you're saving query strings for that rare case, even if you turn cookies on in the web.config.
This is the key element:
<sessionState
mode="[Off|InProc|StateServer|SQLServer|Custom]"
timeout="number of minutes"
cookieName="session identifier cookie name"
cookieless=
"[true|false|AutoDetect|UseCookies|UseUri|UseDeviceProfile]"
regenerateExpiredSessionId="[True|False]"
sessionIDManagerType="session manager type"
sqlConnectionString="sql connection string"
sqlCommandTimeout="number of seconds"
allowCustomSqlDatabase="[True|False]"
useHostingIdentity="[True|False]"
stateConnectionString="tcpip=server:port"
stateNetworkTimeout="number of seconds"
customProvider="custom provider name"
compressionEnabled="[True|False]"
sqlConnectionRetryInterval="number of seconds">
<providers>...</providers>
</sessionState>
I usually put the "cookieless" to "AutoDetect" because if you pick "UseCookies" and the user has cookies disables, it won't throw an error, but it won't establish a session either. If you're using a web farm, you have to use mode=SQLServer or Custom, where you have to implement session management yourself.
|
|
|
|
|
Hello I am new to ASP.Net, I am getting an error saying
"A potentially dangerous Request.Form value was detected from the client" when I enter a password with special characters "<" and ">" in it, I found some solutions saying add validrequest="false" and requestValidationMode="2.0" I did add both the statements, but no luck, the error is still showing up, Is there any way to resolve this.
Please help me out with this,
Thank you..
|
|
|
|
|
|
Hi,
Ia m sending email from my website. My host told me they have updated the SPF and eevrything is fine. But I am still having a problem.
Emails to Yahoo are getting recieved as SPAM.
Emails to Gmail and Hotmail are not reaching at all. I mean it's sent but it's not anywhere in Gamil or Hotmail... not even in Junk folder.
How can I fix this?
Technology News @ www.JassimRahma.com
|
|
|
|