"mtcc" <mt******@yahoo.com> wrote in message news:43********@news.012.net.il...
when i put connection on WebForm, and call fill on page_laod, i get isNewSession=true on first PostBack!
when i declare new connection on my code in page_laod, i get isNewSession=false on first PostBack as
Are you using in-proc SessionState (the default)? and if so, did you
notice the aspnet_wp working process get recycled? (If debugging,
in the Output Window you'd see a message that the original WP
thread was killed between the first page request and the first post
back.)
If you're observing both of these facts, then switching to a more
persistent store for SessionState like SQL Server keeps your
sessions from recycling when IIS recycles ASP.NET.
Derek Harmon