Na eigentlich, setze ich in der global.asax mein globales Objekt in eine
Session Variable. Ich habe sp�ter erst gelesen, dass man das auch anders
machen kann. Aber egal.

Session_Start:
Kontrolle kontroll = new Kontrolle();
Session["kontroll"] = kontroll;

Das hole ich mir, wenn ich es brauche in meine einzelnen Klassen rein. Ist
ja nun recht praktisch m�glich.

Soll ich nun �ber alle meine CodeBehind Klassen [ Serializable ] eintragen?.

Dann m�sste es doch gehen? 

Jan

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 07, 2003 3:08 PM
To: [EMAIL PROTECTED]
Subject: RE : RE : [Asp.net] Viewstate Error

Welches Objekt speicherst Du im ViewState?

-----Message d'origine-----
De�: Reinmueller, Jan [mailto:[EMAIL PROTECTED] 
Envoy�: lundi 7 juillet 2003 14:59
��: '[EMAIL PROTECTED]'
Objet�: RE: RE : [Asp.net] Viewstate Error

Ich bekomme die Fehlermeldung direkt nachdem Login. Sozusagen, nach dem
Klicken auf den Button Login. Aber auch nicht immer....

Was muss ich nun machen?

THX



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 07, 2003 2:57 PM
To: [EMAIL PROTECTED]
Subject: RE : [Asp.net] Viewstate Error

Ein ViewState ist eine Variable, welches den "Zustand" eines Objektes
zusammen mit Deinem generierten html-Text speichert. Deshalb muss Dein
Objekt Serialisierbar sein (Attribut: [ Serializable ]).

Wann bekommst DU diese Fehlermeldung? 

-----Message d'origine-----
De�: Reinmueller, Jan [mailto:[EMAIL PROTECTED] 
Envoy�: lundi 7 juillet 2003 14:48
��: '[EMAIL PROTECTED]'
Objet�: [Asp.net] Viewstate Error

Hi Liste, weiss einer was folgende Fehlermeldung bedeutet?
Was ist den ein Viewstate?


The viewstate is invalid for this page and might be corrupted. 
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code. 

Exception Details: System.Web.HttpException: The viewstate is invalid for
this page and might be corrupted.

Source Error: 
An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below. 

Stack Trace: 

[HttpException (0x80004005): The viewstate is invalid for this page and
might be corrupted.]
   System.Web.UI.Page.LoadPageStateFromPersistenceMedium() +150
   System.Web.UI.Page.LoadPageViewState() +18
   System.Web.UI.Page.ProcessRequestMain() +423



THX
_______________________________________________
Asp.net mailing list
[EMAIL PROTECTED]
http://www.glengamoi.com/mailman/listinfo/asp.net
_______________________________________________
Asp.net mailing list
[EMAIL PROTECTED]
http://www.glengamoi.com/mailman/listinfo/asp.net
_______________________________________________
Asp.net mailing list
[EMAIL PROTECTED]
http://www.glengamoi.com/mailman/listinfo/asp.net
_______________________________________________
Asp.net mailing list
[EMAIL PROTECTED]
http://www.glengamoi.com/mailman/listinfo/asp.net
_______________________________________________
Asp.net mailing list
[EMAIL PROTECTED]
http://www.glengamoi.com/mailman/listinfo/asp.net

Antwort per Email an