Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > unreadable ip

Thread Tools

unreadable ip

Posts: n/a

I have a website which stores the ip of visitors, Now I've discovered that
lately the ip address stored is unreadable, like cryptic string.
Even the ip address of myself becomes cryptic,

I use HttpContext.Current.Request.UserHostAddress to get the ip address, the
ip column in the database has datatype varchar(15).

any idea what's wrong here? should it be nvarchar(15) instead?

Reply With Quote
Posts: n/a
Hi Mark!

I tryed what you suggested in that article, but it didn't solve the problem.

This is an example of ip I see in the table: '', that was suppose
to be an ip, but is totally unreadable - atleast it is for me
The column in the table storing the ip is of format varchar(15). I wonder if
that may have something to do with the error, maybe it should have nvarchar
instead ?

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
InputStream unreadable Java 3 01-11-2006 05:35 PM
Serializing beans. Change in code makes old files unreadable. Andoni Java 2 08-19-2005 09:21 PM
Unreadable QueryString Surajit Laha ASP .Net 4 05-04-2004 12:39 PM
Help with message "Directory is unreadable or corrupt" Shad Computer Support 1 04-26-2004 11:45 PM
Re: Unreadable "HTML" Toby A Inkster HTML 1 08-19-2003 02:56 AM