Click here to Skip to main content
15,919,358 members
Home / Discussions / C#
   

C#

 
QuestionTimer Class Help Pin
DMWhiteDragon8-Jul-07 16:14
DMWhiteDragon8-Jul-07 16:14 
AnswerRe: Timer Class Help Pin
Luc Pattyn8-Jul-07 16:48
sitebuilderLuc Pattyn8-Jul-07 16:48 
GeneralRe: Timer Class Help Pin
DMWhiteDragon8-Jul-07 17:03
DMWhiteDragon8-Jul-07 17:03 
GeneralRe: Timer Class Help Pin
Luc Pattyn8-Jul-07 17:15
sitebuilderLuc Pattyn8-Jul-07 17:15 
GeneralRe: Timer Class Help Pin
DMWhiteDragon8-Jul-07 17:29
DMWhiteDragon8-Jul-07 17:29 
JokeRe: Timer Class Help Pin
Luc Pattyn8-Jul-07 17:31
sitebuilderLuc Pattyn8-Jul-07 17:31 
Questionwebsite Login with c# Pin
cardy18-Jul-07 15:14
cardy18-Jul-07 15:14 
AnswerRe: website Login with c# [modified] Pin
DMWhiteDragon8-Jul-07 16:30
DMWhiteDragon8-Jul-07 16:30 
Is this what you are after?

http://msdn.microsoft.com/msdnmag/issues/01/09/cweb/[^]

I assume you know how to read post/get submissions from a asp.net webpage... its a little hard to read your english so i assumed you want something similar to the link i posted?

-- modified at 22:54 Sunday 8th July, 2007

To give you a more 'workable' idea:

New C# Project, add a button and a listbox (make it fairly wide)
add a new using:

<br />
using System.Net;<br />


then add this to the button code:

<br />
WebRequest MyRequest = WebRequest.Create("http://mmo.shadowdevelopment.com/default.aspx?TEST=Bob");<br />
WebResponse MyResponse = MyRequest.GetResponse();<br />
<br />
for (int iC = 0; iC < MyResponse.Headers.Count;iC++ )<br />
{<br />
	listBox1.Items.Add(MyResponse.Headers.Keys[iC] + ": " + MyResponse.Headers[iC]);<br />
}<br />
MyResponse.Close();<br />


Thats a link to a test page on my domain so it wont be up forever Wink | ;) but as you can see there is a Set-Cookie: header you need to read this value and re-send it with any other request (and each time it will send a new one back) that will identify your requests with the correct session store on the server and allow you to do whatever you want while being logged in on a website using a normal c# application.


Always more to learn, and i wouldn't have it any other way.

AnswerRe: website Login with c# Pin
Ravi Bhavnani8-Jul-07 19:15
professionalRavi Bhavnani8-Jul-07 19:15 
QuestionGISMAP Pin
sarvenaz848-Jul-07 11:58
sarvenaz848-Jul-07 11:58 
AnswerRe: GISMAP Pin
Christian Graus8-Jul-07 16:18
protectorChristian Graus8-Jul-07 16:18 
Questionhow to connect C# application with j2me application? Pin
amna_am8-Jul-07 11:38
amna_am8-Jul-07 11:38 
AnswerRe: how to connect C# application with j2me application? Pin
Christian Graus8-Jul-07 11:41
protectorChristian Graus8-Jul-07 11:41 
GeneralRe: how to connect C# application with j2me application? Pin
Paul Conrad8-Jul-07 12:17
professionalPaul Conrad8-Jul-07 12:17 
Questionhelp me please Pin
michaelqog8-Jul-07 11:11
michaelqog8-Jul-07 11:11 
AnswerRe: help me please Pin
Judah Gabriel Himango8-Jul-07 11:42
sponsorJudah Gabriel Himango8-Jul-07 11:42 
AnswerRe: help me please Pin
Christian Graus8-Jul-07 11:43
protectorChristian Graus8-Jul-07 11:43 
AnswerRe: help me please Pin
Paul Conrad8-Jul-07 12:22
professionalPaul Conrad8-Jul-07 12:22 
QuestionHow to get the date now C# Pin
Aleksandr718-Jul-07 5:05
Aleksandr718-Jul-07 5:05 
AnswerRe: How to get the date now C# Pin
Kevin McFarlane8-Jul-07 5:07
Kevin McFarlane8-Jul-07 5:07 
GeneralRe: How to get the date now C# Pin
Aleksandr718-Jul-07 19:55
Aleksandr718-Jul-07 19:55 
AnswerRe: How to get the date now C# Pin
Colin Angus Mackay8-Jul-07 5:40
Colin Angus Mackay8-Jul-07 5:40 
JokeRe: How to get the date now C# Pin
Not Active8-Jul-07 5:45
mentorNot Active8-Jul-07 5:45 
JokeRe: How to get the date now C# Pin
Luc Pattyn8-Jul-07 5:57
sitebuilderLuc Pattyn8-Jul-07 5:57 
GeneralRe: How to get the date now C# Pin
Vikram A Punathambekar8-Jul-07 6:44
Vikram A Punathambekar8-Jul-07 6:44 

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.