Click here to Skip to main content
15,920,688 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Gridview columns Pin
Learning10-Apr-08 5:30
Learning10-Apr-08 5:30 
QuestionAdjust location of a control on asp.net pages Pin
Tarik Guney9-Apr-08 11:25
Tarik Guney9-Apr-08 11:25 
GeneralRe: Adjust location of a control on asp.net pages Pin
Christian Graus9-Apr-08 11:43
protectorChristian Graus9-Apr-08 11:43 
QuestionMultiple Access Pin
Tarik Guney9-Apr-08 11:19
Tarik Guney9-Apr-08 11:19 
GeneralRe: Multiple Access Pin
Christian Graus9-Apr-08 11:21
protectorChristian Graus9-Apr-08 11:21 
GeneralRe: Multiple Access Pin
Tarik Guney9-Apr-08 11:30
Tarik Guney9-Apr-08 11:30 
GeneralRe: Multiple Access Pin
Christian Graus9-Apr-08 11:42
protectorChristian Graus9-Apr-08 11:42 
Generalconverting and updated converted pages Pin
Gus'O.9-Apr-08 11:09
Gus'O.9-Apr-08 11:09 
QuestionIs it possible to place a hyperlink within a ASP.NET textbox control? Pin
Infernojericho9-Apr-08 10:43
Infernojericho9-Apr-08 10:43 
AnswerRe: Is it possible to place a hyperlink within a ASP.NET textbox control? Pin
pmarfleet9-Apr-08 10:51
pmarfleet9-Apr-08 10:51 
GeneralRe: Is it possible to place a hyperlink within a ASP.NET textbox control? Pin
Infernojericho9-Apr-08 10:53
Infernojericho9-Apr-08 10:53 
GeneralRe: Is it possible to place a hyperlink within a ASP.NET textbox control? Pin
pmarfleet9-Apr-08 11:21
pmarfleet9-Apr-08 11:21 
GeneralCrystel Report ..Change Database Location at runtime Pin
Amr M. K.9-Apr-08 9:51
Amr M. K.9-Apr-08 9:51 
GeneralRe: Crystel Report ..Change Database Location at runtime Pin
Darsh_311-Apr-08 2:18
Darsh_311-Apr-08 2:18 
GeneralWeird behavior of FindControl Pin
AlexeiXX39-Apr-08 8:01
AlexeiXX39-Apr-08 8:01 
GeneralRe: Weird behavior of FindControl Pin
MrPlankton9-Apr-08 11:32
MrPlankton9-Apr-08 11:32 
GeneralRe: Weird behavior of FindControl Pin
AlexeiXX39-Apr-08 11:47
AlexeiXX39-Apr-08 11:47 
GeneralRe: Weird behavior of FindControl Pin
MrPlankton10-Apr-08 5:39
MrPlankton10-Apr-08 5:39 
QuestionHow to send cookies with httpwebrequest Pin
raha20029-Apr-08 6:56
raha20029-Apr-08 6:56 
AnswerRe: How to send cookies with httpwebrequest Pin
led mike9-Apr-08 7:17
led mike9-Apr-08 7:17 
GeneralRe: How to send cookies with httpwebrequest Pin
raha20029-Apr-08 8:56
raha20029-Apr-08 8:56 
GeneralRe: How to send cookies with httpwebrequest Pin
led mike10-Apr-08 5:41
led mike10-Apr-08 5:41 
raha2002 wrote:
I think u misunderstood me. I want to send cookies from client to server. cookiecontainer is an object for response to put cookies in it. without it httpwebresponse can't send cookies back to client.

How do you know that? Did you try it? I did and it works just fine.

HttpWebRequest req = WebRequest.Create("http://localhost/Research/RequestViewer.aspx") as HttpWebRequest;
Cookie cook = new Cookie();
cook.Name = "TestCookie";
cook.Value = "CookieValue";
cook.Domain = "localhost";
req.CookieContainer = new CookieContainer();
req.CookieContainer.Add(cook);

WebResponse res = req.GetResponse();
Stream s = res.GetResponseStream();
StreamReader sr = new StreamReader(s);
while (!sr.EndOfStream)
    Console.WriteLine(sr.ReadLine());




led mike

QuestionLost selection from dropdownlist after postback??? Pin
JimFeng9-Apr-08 6:21
JimFeng9-Apr-08 6:21 
AnswerRe: Lost selection from dropdownlist after postback??? Pin
ChrisKo9-Apr-08 10:38
ChrisKo9-Apr-08 10:38 
GeneralRe: Lost selection from dropdownlist after postback??? Pin
JimFeng10-Apr-08 5:24
JimFeng10-Apr-08 5:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.