| | |
SHARED Whatever as String
Please support our ASP.NET advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
Hi - At the top of my page, let's say I declare a variable by
Shared D1 as String
Then in different functions/routines throughout the page I write and read the value of the string.
This works just fine.
The problem is, let's say the user closes the browser and another users signs in from a different computer, some amount of time later... it seems the "D1" hasn't cleared it's value!
Why is this happening?
Shared D1 as String
Then in different functions/routines throughout the page I write and read the value of the string.
This works just fine.
The problem is, let's say the user closes the browser and another users signs in from a different computer, some amount of time later... it seems the "D1" hasn't cleared it's value!
Why is this happening?
--
"Dummy."
"Dummy."
that is odd. sounds like ( i am guessing here ) you might need to include something that states when the Session has expired, reset the string to whatever you need it to be. I hope this helps steer you in the right direction...
Computers are man's attempt at designing a cat: It does whatever it wants, whenever it wants, and rarely ever at the right time.
![]() |
Other Threads in the ASP.NET Forum
- Previous Thread: change data value at front end
- Next Thread: ADODB Connection
Views: 479 | Replies: 2
| Thread Tools | Search this Thread |
Tag cloud for ASP.NET
.net 2.0 3.5 ajax alltypeofvideos appliances application asp asp.net beginner box browser businesslogiclayer button c# cac checkbox class complex control countryselector dataaccesslayer database datagrid datagridview datalist deployment development dgv dialog dropdownmenu dynamic dynamically edit editing embeddingactivexcontrol feedback fileuploader fill findcontrol flash folder form gridview gudi identity iis image javascript languages list listbox maps mobile mouse mssql nameisnotdeclared news novell numerical opera parent problem profile radio redirect registration relationaldatabases reportemail response.redirect richtextbox rows schoolproject search security select services sessionvariables silverlight smoobjects software sql sql-server ssl theft tracking treeview validatedate validation vb.net videos vista visualstudio vs2008 web webapplications webdevelopment webprogramming wizard xsl






