Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
V

vijay_83

@vijay_83
About
Posts
73
Topics
57
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Popup Message Box in Windows Service
    V vijay_83

    Hi, I have to run a windows service in .net in which i have to generate popup message box reminder every one hour. i dont want to run it as a application, as each and every time we have to run it manually daily. i cant find a message box in windows service. can anybody please give me an idea of how to do it in an automatic service so that no manual process should be done. once they switch on the system, the service should start automatically and should generate popups once an hour. Pls help. Thanks and Regards Vijayarajan.V :)

    Visual Basic csharp help tutorial

  • MessageBox Popup in Windows Service
    V vijay_83

    Hi, I have to run a C# windows service in .net in which i have to generate popup message box reminder every one hour. i dont want to run it as a application, as each and every time we have to run it manually daily. i cant find a message box in windows service. can anybody please give me an idea of how to do it in an automatic service so that no manual process should be done. once they switch on the system, the service should start automatically and should generate popups once an hour. Pls help. Thanks and Regards Vijayarajan.V :)

    Windows Forms csharp help tutorial

  • #region coding
    V vijay_83

    hi, what is the difference between writing a code within #region and endregion and wrtiing it normally. why in some programs they write code in between #region and Endregion. Regards Vijay.

    ASP.NET question

  • Difference between Request.ServerVariables["HTTP_X_FORWARDED_FOR"] and Request.ServerVariables["REMOTE_ADDR"] in Asp.net
    V vijay_83

    Hi, What is the difference between Request.ServerVariables["HTTP_X_FORWARDED_FOR"] and Request.ServerVariables["REMOTE_ADDR"] in Asp.Net. I think both are used for showing the system's IP address. then what's the major difference between both? anybody pls explain me clearly. Regards Vijay.

    ASP.NET question csharp asp-net

  • what is App.ico in .net?
    V vijay_83

    what is App.ico in .net? Can anybody explain me about it. i can't get a clear idea about it.

    ASP.NET question csharp

  • what is .net remoting?
    V vijay_83

    Hi, I am new to .net development. i need to know what is .net remoting and why it is used for? i want some easy examples to understand about it. pls help me.. Regards Vijay.

    ASP.NET question csharp help

  • creating an exe in .net?
    V vijay_83

    hi, what is an exe and why do we create an exe? How is an exe useful in Asp.Net? Give me some examples for creating an exe in .net... Regards Vijay.

    ASP.NET question csharp asp-net

  • Identifier Expected Error
    V vijay_83

    this is my code in which i get an error as "Identifier Expected in line: private const SecretSalt = "H3#@*ALMLLlk31q4l1ncL#@..."; _____________________________________________________________________________ private void Page_Load(object sender, System.EventArgs e) { lnkToB.NavigateUrl = CreateTamperProofURL("TamperProofURLs.B.aspx", "NonTamperProof=1", "TP1=Scott&TP2=27"); } //The secret salt... private const SecretSalt = "H3#@*ALMLLlk31q4l1ncL#@..."; public string CreateTamperProofURL(string url, string nonTamperProofParams, string tamperProofParams) { string tpURL = url; if (nonTamperProofParams.Length > 0 || tamperProofParams.Length > 0) { url // ERROR: Unknown assignment operator ConcatString ; } //Add on the tamper & non-tamper proof parameters, if any if (nonTamperProofParams.Length > 0) { url // ERROR: Unknown assignment operator ConcatString ; if (tamperProofParams.Length > 0) url // ERROR: Unknown assignment operator ConcatString ; } if (tamperProofParams.Length > 0) url // ERROR: Unknown assignment operator ConcatString ; //Add on the tamper-proof digest, if needed if (tamperProofParams.Length > 0) { url // ERROR: Unknown assignment operator ConcatString ; } return url; } public string GetDigest(string tamperProofParams) { string Digest = string.Empty; string input = string.Concat(SecretSalt, tamperProofParams, SecretSalt); //The array of bytes that will contain the encrypted value of input byte[] hashedDataBytes; //The encoder class used to convert strPlainText to an array of bytes System.Text.UTF8Encoding encoder = new System.Text.UTF8Encoding(); //Create an instance of the MD5CryptoServiceProvider class System.Security.Cryptography.MD5CryptoServiceProvider md5Hasher = new System.Security.Cryptography.MD5CryptoServiceProvider(); //Call ComputeHash, passing in the plain-text string as an array of bytes //The return value is the encrypted value, as an array of bytes hashedDataBytes = md5Hasher.ComputeHash(encoder.GetBytes(input)); //Base-64 Encode the results and strip off ending '==', if it exists Digest = Convert.ToBase64String(hashedDataBytes).TrimEnd("=".ToCharArray()); return Digest; } In which case do i get that error. pls do help me in solving it. Regards Vijay.

    ASP.NET help data-structures security

  • What are Macros?
    V vijay_83

    What is meant by Macros and why do we use macros in .net? Is Macros essential in .net? anybody pls explain me abt Macros in detail....

    ASP.NET question csharp

  • char.parse() in Asp.Net
    V vijay_83

    thanks graus, can u pls give me any example or redirect me to any useful links which explains encryption and cryptography in detail????

    ASP.NET csharp asp-net tutorial

  • char.parse() in Asp.Net
    V vijay_83

    thanks friend, but i need to encrypt a password and for that i heard that char.parse() is used. Is it true or we have anyother methods for encrypting a password?

    ASP.NET csharp asp-net tutorial

  • char.parse() in Asp.Net
    V vijay_83

    Hi, can anybody pls explain me in detail why do we use char.parse() function in Asp.Net and for what purpose it is used for and pls give me some examples of how to use it in program. Regards Vijay.

    ASP.NET csharp asp-net tutorial

  • How to end Cookie's Session?
    V vijay_83

    Thans Manoj, But how can i call this procedure in my source page, as i click the home link i have to go to a page called UnAuth.aspx in which i have to remove my session completely and have to go to the Home page. So i have to write the coding only in UnAuth.aspx. For that i can't use the cookie i have created in Auth.aspx. How can i call that RSACookie which was initialised in Auth.aspx. pls help me with this issue Manoj. Regards Vijay.

    ASP.NET help question html sysadmin security

  • How to end Cookie's Session?
    V vijay_83

    Hi, Iam working in a webapplication in which I am using RSA cookie authentication to login. I login using secure RSA ID in which i login using different users with different Tokens such as Admin , client etc.., for ex.. if i login using Admin account and RSA pincode i have to redirect to a different destination page than that of the client account's destination page. The thing is that i have written RSA secured Cookie for login in a page called Authorize.aspx as follows in the HTML page of Authorize.aspx: <% Dim RSACookieAPI '//Response.Cookies["RSACookieAPI"].Expires = DateTime.Now.AddYears(-30) RSACookieAPI = Server.CreateObject("Rsacookieapi.RSACookie") %> Hello <%=RSACookieAPI.RSAGetUserName() %> <% session("rsauser")=RSACookieAPI.RSAGetUserName() %> <% Response.Redirect("auth.aspx") %> My question is that when i click logout in the destination page for each account the RSA cookie's time frame and user's session should expire and come to the home page. I don't know how to end the RSA cookie's session as i have different accounts in each page from which i logout. So pls help me with this issue. i think i have confused u a bit with my question. Sorry for that. pls help me with this issue. Thanks and Regards Vijay.

    ASP.NET help question html sysadmin security

  • How to end Cookie's Session?
    V vijay_83

    Hi, Iam working in a webapplication in which I am using RSA cookie authentication to login. I login using secure RSA ID in which i login using different users with different Tokens such as Admin , client etc.., for ex.. if i login using Admin account and RSA pincode i have to redirect to a different destination page than that of the client account's destination page. The thing is that i have written RSA secured Cookie for login in a page called Authorize.aspx as follows in the HTML page of Authorize.aspx: <% Dim RSACookieAPI '//Response.Cookies["RSACookieAPI"].Expires = DateTime.Now.AddYears(-30) RSACookieAPI = Server.CreateObject("Rsacookieapi.RSACookie") %> Hello <%=RSACookieAPI.RSAGetUserName() %> <% session("rsauser")=RSACookieAPI.RSAGetUserName() %> <% Response.Redirect("auth.aspx") %> My question is that when i click logout in the destination page for each account the RSA cookie's time frame and user's session should expire and come to the home page. I don't know how to end the RSA cookie's session as i have different accounts in each page from which i logout. So pls help me with this issue. i think i have confused u a bit with my question. Sorry for that. pls help me with this issue. Thanks and Regards Vijay.

    Web Development help question html sysadmin security

  • How to end Cookie's Session?
    V vijay_83

    Hi, Iam working in a webapplication in which I am using RSA cookie authentication to login. I login using secure RSA ID in which i login using different users with different Tokens such as Admin , client etc.., for ex.. if i login using Admin account and RSA pincode i have to redirect to a different destination page than that of the client account's destination page. The thing is that i have written RSA secured Cookie for login in a page called Authorize.aspx as follows in the HTML page of Authorize.aspx: <% Dim RSACookieAPI '//Response.Cookies["RSACookieAPI"].Expires = DateTime.Now.AddYears(-30) RSACookieAPI = Server.CreateObject("Rsacookieapi.RSACookie") %> Hello <%=RSACookieAPI.RSAGetUserName() %> <% session("rsauser")=RSACookieAPI.RSAGetUserName() %> <% Response.Redirect("auth.aspx") %> My question is that when i click logout in the destination page for each account the RSA cookie's time frame and user's session should expire and come to the home page. I don't know how to end the RSA cookie's session as i have different accounts in each page from which i logout. So pls help me with this issue. i think i have confused u a bit with my question. Sorry for that. pls help me with this issue. Thanks and Regards Vijay.

    ASP.NET help question html sysadmin security

  • Problem when using SSL certificates..
    V vijay_83

    Hi, When we open a Word document as a link in a secure (https://) area of our website, we get a "Choose a digital certificate" window which pops up when i try to open the Word document. The message says "The Website you want to view requests identification. Please choose a certificate." However, there are no certificates listed in the window below the message. The certificate is not expired. I only get the error on Word documents (not PDF or Excel documents) and it only happens the first time you click on a link. If I reopen a Word document which just gave me an error, I will not receive the error the second time around. Our browser security is set to Medium and I did add our secure website to the Trusted Sites. Pls sort out this issue. Regards Vijay.

    ASP.NET help security cryptography

  • Problem when using SSL certificates..
    V vijay_83

    Hi, When we open a Word document as a link in a secure (https://) area of our website, we get a "Choose a digital certificate" window which pops up when i try to open the Word document. The message says "The Website you want to view requests identification. Please choose a certificate." However, there are no certificates listed in the window below the message. The certificate is not expired. I only get the error on Word documents (not PDF or Excel documents) and it only happens the first time you click on a link. If I reopen a Word document which just gave me an error, I will not receive the error the second time around. Our browser security is set to Medium and I did add our secure website to the Trusted Sites. Pls sort out this issue. Regards Vijay.

    System Admin help security cryptography

  • How to convert a single http page into https using SSL in IIS?
    V vijay_83

    Thanks once again. But the thing is i don't know how to redirect to one single page and make it as https after logging in. Pls help me how to do the process.:)

    ASP.NET csharp asp-net com sysadmin windows-admin

  • How to convert a single http page into https using SSL in IIS?
    V vijay_83

    hey, thanks for ur reply. but i don't need the whole site to use https as it's not user-friendly and most users dont try to access the site using https. The thing is that i need to use one page as https ie.., if i login using RSA secure ID after logged in the page we access should only be shown in https to specify that they are logged in to a secure page. So pls help me.

    ASP.NET csharp asp-net com sysadmin windows-admin
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups