Well I've found some weird stuff and I hope someone can shed some light on
this.
Using the below on the page load will force ASP.NET to get a new Session
variable. I tried to put this same code on a button click event and it
didn't work. I tried it checking the post back and then leaving it out,
didn't make a difference. So the question is, what can Page_Load do/have
access to that a button click event doesn't?
FORCE ASP.NET TO GET A NEW SESSION VARIABLE
If Not IsPostBack Then
Request.Cookies("ASP.NET_SessionId").Expires = Now
End If
Hope some of this helps you guys. Thanks for the help too.
-Andy
"Dave Johnson" <es*********@gmail.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
please keep me updated, thnx
Sharing makes All the Difference
--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com