Click here to Skip to main content
15,507,526 members
Home / Discussions / C#
   

C#

 
GeneralManaged interface for IActiveDesktop Pin
Wjousts18-Sep-02 12:59
Wjousts18-Sep-02 12:59 
GeneralRe: Managed interface for IActiveDesktop Pin
Stephane Rodriguez.18-Sep-02 21:44
Stephane Rodriguez.18-Sep-02 21:44 
GeneralRe: Managed interface for IActiveDesktop Pin
Wjousts19-Sep-02 16:50
Wjousts19-Sep-02 16:50 
GeneralRe: Managed interface for IActiveDesktop Pin
Okeno Palmer28-Dec-03 19:50
Okeno Palmer28-Dec-03 19:50 
QuestionRelease date of .NET 1.1? Pin
leppie18-Sep-02 5:50
leppie18-Sep-02 5:50 
GeneralWeb Service question (C#) Pin
User 988518-Sep-02 5:50
User 988518-Sep-02 5:50 
GeneralWeb Service question (C#) - addl info Pin
User 988518-Sep-02 5:55
User 988518-Sep-02 5:55 
GeneralRe: Web Service question (C#) Pin
leppie18-Sep-02 5:57
leppie18-Sep-02 5:57 
Hi Thomas

I had exactly the same problem starting with web stuff a short while back and I was like WTF??*&^*&*%%&^(*& Laugh | :laugh: are my objects?

The answer is short and sweet. In ASP.NET objects are stateless, meaning the will be recreated with every pageview.

Now the fix, and I'm not really sure if this the correct way, but all u need to do is mark those two variables in question as static. They will now retain their state.

Hope this helps Smile | :)
GeneralRe: Web Service question (C#) Pin
Ray Cassick18-Sep-02 6:20
Ray Cassick18-Sep-02 6:20 
GeneralRe: Web Service question (C#) Pin
leppie18-Sep-02 6:59
leppie18-Sep-02 6:59 
GeneralRe: Web Service question (C#) Pin
User 988518-Sep-02 6:28
User 988518-Sep-02 6:28 
GeneralRe: Web Service question (C#) Pin
leppie18-Sep-02 6:53
leppie18-Sep-02 6:53 
GeneralRe: Web Service question (C#) Pin
User 988518-Sep-02 7:39
User 988518-Sep-02 7:39 
GeneralRe: Web Service question (C#) Pin
leppie18-Sep-02 7:46
leppie18-Sep-02 7:46 
GeneralRe: Web Service question (C#) Pin
User 988518-Sep-02 7:54
User 988518-Sep-02 7:54 
GeneralRe: Web Service question (C#) Pin
leppie18-Sep-02 8:12
leppie18-Sep-02 8:12 
GeneralRe: Web Service question (C#) Pin
User 988518-Sep-02 7:56
User 988518-Sep-02 7:56 
GeneralRe: Web Service question (C#) Pin
leppie18-Sep-02 8:17
leppie18-Sep-02 8:17 
GeneralRe: Web Service question (C#) Pin
User 988518-Sep-02 8:39
User 988518-Sep-02 8:39 
GeneralRe: Web Service question (C#) Pin
User 988518-Sep-02 6:36
User 988518-Sep-02 6:36 
GeneralRe: Web Service question (C#) Pin
leppie18-Sep-02 7:29
leppie18-Sep-02 7:29 
GeneralRe: Web Service question (C#) Pin
Ray Cassick18-Sep-02 6:12
Ray Cassick18-Sep-02 6:12 
GeneralRe: Web Service question (C#) Pin
User 988518-Sep-02 6:27
User 988518-Sep-02 6:27 
QuestionIncrementing build numbers? Pin
Zinj18-Sep-02 5:29
sussZinj18-Sep-02 5:29 
AnswerRe: Incrementing build numbers? Pin
leppie18-Sep-02 6:09
leppie18-Sep-02 6:09 

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.