HTTPWebRequest + Cookies problem
From: Ori (orianavim_at_hotmail.com)
Date: 02/18/04
- Next message: awan: "Any "app.Path" function in dotnet"
- Previous message: Tom Porterfield: "Re: messagebox code not working"
- Messages sorted by: [ date ] [ thread ]
Date: 17 Feb 2004 16:17:17 -0800
Hi,
In continue to another post which I have in this news group, I was
able to find out some more details about the problem
What is my problem?
I currently build some kind of web-service which illustrates the
web-site login, some query and retrieve some data from this websites.
I have a website which I'm not able to login into (although I pass all
the variables which need to be sent) and I'm getting the same error:
"Your session has expired. Please login again.".
The wired part that if I'm taking the URL which I generate, and place
it in the IE browser, I'm login successfully, but when I'm using is
through the HTTWebRequest (doesn't matter if I'm using GET/POST) I'm
not able to login.
What I've found so far?
>From what I was able to figure out, it's something which related to
cookies. If I'm disabling the cookies on my IE I see that I'm not able
to login to the website (get the same error message).
Nevertheless, when I enables the cookies (and also succeed to login to
the website) I wasn't able to see any cookie in my cookies folder
which belongs to this website.
Is there any setting which I need to set in my HTTWebRequest object in
order to enable cookies or something like that? Does anyone has any
idea how to solve my problem ?
Thanks,
Ori.
- Next message: awan: "Any "app.Path" function in dotnet"
- Previous message: Tom Porterfield: "Re: messagebox code not working"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|