Da cosa può dipendere il fatto che un'applicazione che ha sempre funzionato
correttamente mi da errori nella gestione delle var di sessione??
Server Error in 'aaa' Application.
----------------------------------------------------------------------------
----
Object reference not set to an instance of an object.
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.NullReferenceException: Object reference not set
to an instance of an object.
Session["IDAzienda"].ToString();
So che le spiegazioni date sono poco, ma effettivamente nelle ultime ore ho
semplicemente aggiunto nuove pagine e non modificato le esistenti.....
ho provato a fare un debug,
nel file ascx allegato alla pagina di login viene salvata la var di sessione
Session["IDAzienda"] = objDataReader["ID"];
infatti la leggo in fase di debug... quando accedo alle altre pagine il
contenuto diventa nullo
ma ha sempre funzionato :-((