The Cache: Technology Expert's Forum
 
*
Welcome, Guest. Please login or register. January 07, 2009, 10:38:34 PM

Login with username, password and session length


Pages: [1]
  Print  
Author Topic: BeforeNavigate2 headers  (Read 1089 times)
nattsurfaren
Journeyman
***
Offline Offline

Posts: 55


View Profile
« on: July 22, 2008, 01:06:30 PM »

Code:
public void BeforeNavigate2(object pDisp, ref object URL, ref object Flags, ref object TargetFrameName, ref object PostData, ref object Headers, ref bool Cancel)
Does anybody know if I'm extracting header data in a wrong way?


Code:
String h = "";
                if (Headers != null)
                {
                 
                    h = (string)Headers;
                }

Currently I have tested only a few websites but I only get one header. Using fiddler I can se more than one.

Could it be that this is returned in an array. Still if it where an array I would get an error if I try to cast it as a simple string?

Sincerely
Natt
Logged
Pages: [1]
  Print  
 
Jump to:  

Perkiset's Place Home   Best of The Cache   phpMyIDE: MySQL Stored Procedures, Functions & Triggers
Politics @ Perkiset's   Pinkhat's Perspective   
cache
mart
coder
programmers
ajax
php
javascript
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS!