Click here to Skip to main content
15,860,972 members
Home / Discussions / C#
   

C#

 
GeneralRe: Changing Folder Permissions C# Pin
Heath Stewart17-Jan-04 8:44
protectorHeath Stewart17-Jan-04 8:44 
QuestionHow to convert a float to a 4 byte array. Pin
HAHAHA_NEXT15-Jan-04 10:56
HAHAHA_NEXT15-Jan-04 10:56 
AnswerRe: How to convert a float to a 4 byte array. Pin
leppie15-Jan-04 11:07
leppie15-Jan-04 11:07 
GeneralRe: How to convert a float to a 4 byte array. Pin
HAHAHA_NEXT16-Jan-04 10:12
HAHAHA_NEXT16-Jan-04 10:12 
GeneralSqlParameter.IsNullable Pin
Shaun Becker15-Jan-04 10:20
Shaun Becker15-Jan-04 10:20 
GeneralRe: SqlParameter.IsNullable Pin
Shaun Becker15-Jan-04 10:25
Shaun Becker15-Jan-04 10:25 
GeneralWeb Service Problem and Session Pin
Mazdak15-Jan-04 10:19
Mazdak15-Jan-04 10:19 
GeneralRe: Web Service Problem and Session Pin
Heath Stewart16-Jan-04 3:56
protectorHeath Stewart16-Jan-04 3:56 
You must use a cookie container with each request. Sessions rely on storing a SessionId in a cookie. Without cookies enabled (or in this case, a container in which to store them), sessions won't work. Use the CookieContainer property in the Web Service class for your clients, inheritted from HttpWebClientProtocol). It uses a System.Net.CookieContainer. Instantiating a new one and assigning the property should do the trick. Just make sure you reuse the CookieContainer. So long as the Web Service class remains instantiated, you shouldn't have to do anything else.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: Web Service Problem and Session Pin
Mazdak16-Jan-04 4:19
Mazdak16-Jan-04 4:19 
GeneralRe: Web Service Problem and Session Pin
Heath Stewart16-Jan-04 4:56
protectorHeath Stewart16-Jan-04 4:56 
GeneralRe: Web Service Problem and Session Pin
Mazdak16-Jan-04 5:26
Mazdak16-Jan-04 5:26 
GeneralRe: Web Service Problem and Session Pin
Mazdak16-Jan-04 6:57
Mazdak16-Jan-04 6:57 
GeneralRe: Web Service Problem and Session Pin
Heath Stewart16-Jan-04 6:59
protectorHeath Stewart16-Jan-04 6:59 
Generalhttp remote file timestamp Pin
elraton15-Jan-04 9:29
elraton15-Jan-04 9:29 
GeneralRe: http remote file timestamp Pin
Heath Stewart15-Jan-04 9:55
protectorHeath Stewart15-Jan-04 9:55 
QuestionDoc / View i C# ? Pin
anderslundsgard15-Jan-04 7:25
anderslundsgard15-Jan-04 7:25 
AnswerRe: Doc / View i C# ? Pin
Heath Stewart15-Jan-04 9:53
protectorHeath Stewart15-Jan-04 9:53 
AnswerRe: Doc / View i C# ? Pin
Eric Gunnerson (msft)15-Jan-04 13:10
Eric Gunnerson (msft)15-Jan-04 13:10 
GeneralMetafile too small Pin
Torsch15-Jan-04 6:31
Torsch15-Jan-04 6:31 
GeneralParameters & Threading Pin
Anonymous15-Jan-04 4:56
Anonymous15-Jan-04 4:56 
GeneralRe: Parameters & Threading Pin
Heath Stewart15-Jan-04 6:49
protectorHeath Stewart15-Jan-04 6:49 
Generalwindows service question Pin
Visuall15-Jan-04 4:55
Visuall15-Jan-04 4:55 
GeneralRe: windows service question Pin
Heath Stewart15-Jan-04 6:41
protectorHeath Stewart15-Jan-04 6:41 
GeneralADO.Net synchronization Pin
Judah Gabriel Himango15-Jan-04 4:49
sponsorJudah Gabriel Himango15-Jan-04 4:49 
GeneralRe: ADO.Net synchronization Pin
Not Active15-Jan-04 5:42
mentorNot Active15-Jan-04 5:42 

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.