I thought that might be a problem, but I have a feelings the security exceptions are from an XSS point of view (correct me if I'm wrong) and the only reason the browsers prevent it is due to the site you are parsing being on a new domain...
Enter lots of fun: Build yourself another HttpHandler that re-routes HttpRequests. The server builds an HttpRequest to some resource dictated in the request to it (a post or get field). The complicated...
User Profile
Collapse
-
Well, as far as I can tell there is no easy way to accomplish this, but if you're willing to go about some crazyness, I can think of at least one way to do it, although I've never tried something like this, but it is theoretically possible:
Your going to have to create a HttpHandler to log the content of the page. This handler will read a certain post field and store it in a database or something so that your scraping application can...Leave a comment:
-
As far as user tracking goes, the best you can do is to track the remote IP (the user host address, as you have been doing ), the remote xfip (transferred for IP address), and the user agent. The HTTP spec doesn't provide you with any more information than that. (some may not even want to use user agent, as it could cause a single user using two different browsers would have two different signatures)...Leave a comment:
-
C#/APP - Windows Media Player Embedded Seeking
Hello,
I'm just looking into using the WMP Embedded control in a C# WinForms application. I'm using it to play audio files (.mp3 and .m4a) which is working perfectly. However, I'm hoping to be able to programatically seek through the songs, e.g. I'm hoping to be able to set the current play position (either in seconds or as a TimeSpan, I don't care)...
Basically, something like:
player.URL = @"C:\SomeSong.m p3";... -
Hello,
Alright, I think I understand what you're trying to do... I'm not quite sure how your form is set up, so here is what I believe your function should look like:
I believe the problem you are having is because you are trying to use passwordchar, which is less than a great idea, since you're trying to have some characters visible. A better bet would be to initial fill the entire textbox with '*'s manually and disable...Leave a comment:
-
Hello,
I can't say for 100%, but my best bet is that ASP.NET is not using you're literal ID's on the client, so the post back to Default2.aspx uses different names for your form fields...
You may want to open up the source of Default.aspx, find the <input> tags and check their name properties, since that is what you will have to use within the Request.Form("x xx") function...
Hope thats...Leave a comment:
-
Hello,
There are a couple of ways to do this, and I'm not quite sure what you're asking, but here are two options:
The easiest way would be to copy the .mdf file along with whatever application you are distributing and then use a connection string that attaches the .mdf file... Something along the lines of:
...Code:SqlConnection Con = new SqlConnection("Data Source=.\SQLEXPRESS;AttacheDBFilename=C:\\Path\\To\\Database.mdf;")Leave a comment:
-
C#-WEP/APP: ActiveX Control Permissions
Hello Everybody,
I'm new here, and I'm hoping someone can help me out...
I'm creating an ActiveX control for an company intranet. This control needs to access Microsoft Outlook (specifically the user's contacts folders). I have created a script that can do this, and have also managed to get an activeX control running.
However, when I try to use my Outlook script within my ActiveX control I get a System.Security .Permissions.Se curityPermissio ns...
No activity results to display
Show More
Leave a comment: