reference error when session expires

T

TJS

i get a reference error to CssDropDown object when the session expires

Why is object reference on "CssDropDown" not being found ?

========================================================
Exception Details: System.NullReferenceException:
Object reference not set to an instance of an object.

Source Line for Error:
....
cssNewStyle = CssDropDown.SelectedItem.value
...
==========================================================
html code is:

<asp:DropDownList
id="CssDropDown"
enableviewstate="true"
runat="server" >
</asp:DropDownList>
 
T

TJS

I don't store sessions in SQL server and I'm using 1.1 framework .

I don't understand this problem, but I did manage a hack workaround by the
setting session timeout to 60 minutes and doing a page refresh every 50
minutes
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,989
Messages
2,570,207
Members
46,782
Latest member
ThomasGex

Latest Threads

Top