Comprehensive, categorized, searchable collection of links to ASP & ASP.NET resources...http://www.surfhighway.com/
Our Directory

Applications
ASP.NET Directory
Books & Media
Community
Components
Other ASP Sites
Reference Material
Software & Server
Tutorials & Code
Web Site Hosts

Expand Directory...
Personlise Results...

Newsgroups

Participate in over
100 ASP & ASP.NET related newsgroups right here @ Fuzzy Software...

.NET Framework
- .net.faqs
- .net.framework
- .net.general
- .net.setup
- .net.scripting
- .net.xml

Web Services
- aspnet.webservices
- msdn.soaptoolkit
- msdn.webservices

SQL Server
- sqlserver.setup
- sqlserver.prog...
- sqlserver.tools

Classic ASP
- asp.db
- asp.general
- asp.components

Scripting
- scripting.jscript
- scripting.remote
- scripting.vbscript
- scripting.wsh

All newsgroups...

User Search Terms

VB SCRIPT
Dating
Cpu
Left
Msgbox
Connectionstring
Unit test
Dynamic list box
Updated
Date format

ASP Built-in
Objects Reference


Application Object
ObjectContext Object
Request Object
Response Object
Server Object
Session Object

Personalise Fuzzy
Make Homepage
Link To Fuzzy
Bookmark This Page

Add our directory to your site in less than
2 minutes...














Whats New!


From: plafond (Patrice Lafond)
Subject: "Redirect" problem with HttpWebRequest
Date: 2 Apr 2002 05:05:56 -0800

Hi all,

I need to download files from web sites and there is one that is not
anonymous. For this one, I need to fill a form, for login-password, and then
I can point to the file that I need to download.

To do that I have created a HttpWebRequest with a uri that points to the
login page (anonymous). I set the "ContentType", the "Method" and write to
the stream the only three fields, "username","password" and "next_url" (with
their values) that contains the form. When I call the GetResponse I get the
" (401) Unauthorized". I suppose that appends because it redirects me to the
other page (from "next_url" field) that is no more anonymous?

Is it possible that my HttpWebRequest doesn't keep the session information
between the "redirect"?

Thanks for your help
Patrice
Post a follow up to this message...





Ektron web editor and content management software

Receive all the latest quality ASP
& ASP.NET content direct to your inbox. Sign-up to our newsletter.





Programmers Resource

ASP.NET Web

CodeFixer

Triple ASP.NET

ASPWorldOnline.com

More partners...

Ektron web editor and content management software
  5048 ASP & ASP.NET resources in over 447 categories and growing daily...
Fuzzy Software - asp / asp.net resources, tutorials, code, scripts, applications, components, newsgroups, hosts and much more... Sitemap 0 1 4