Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

client

How to get a user’s client IP address in ASP.NET?

September 3, 2022 by Magenaut

We have Request.UserHostAddress to get the IP address in ASP.NET, but this is usually the user’s ISP’s IP address, not exactly the user’s machine IP address who for example clicked a link. How can I get the real IP Address?

Categories ASP.NET, Q&A Tags asp.net, c#, client, ip-address Leave a comment

How to get asp.net client id at external javascript file

September 2, 2022 by Magenaut

When I use embedded javascript functions I can get client id of elements with this code:

Categories ASP.NET, Q&A Tags asp.net, client, element, javascript Leave a comment

ASP.Net Checkbox value at postback is wrong?

September 1, 2022 by Magenaut

We have a checkbox that is initially disabled and checked. It is then enabled on the client side through javascript. If the user then unchecks the box and presses the button to invoke a postback, the state of the checkbox remains as checked on the server side. This is obviously undesirable behaviour. Here is an example.

Categories ASP.NET, Q&A Tags asp.net, checkbox, client, postback Leave a comment

Cross-browser checking on file size at client side before uploading it to the server?

August 28, 2022 by Magenaut

Client side validation is important to improve usability.

Categories ASP.NET, Q&A Tags asp.net, client, cross-browser, file-upload, validation Leave a comment

Zero size files uploaded with FTP FileUpload

August 28, 2022 by Magenaut

I’ve been reading gobs of articles on FTP upload in ASP.NET recently and they all seem to make sense, but every time I’ve tried implementing them I either get an empty file uploaded, or no file at all. Here are some of the articles I’ve been reading:

Categories ASP.NET, Q&A Tags asp.net, client, ftp, ftp-server, vb.net Leave a comment

How to send data in a looping with socket PYTHON

August 22, 2022 by Magenaut

i need to send a data each every X seconds from a client to a server with SOCKET, so i try this code:

Categories Python, Q&A Tags client, python, sockets Leave a comment
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress