Shawn, What do you mean by a new tab? Do you have a tab control on a web page? If so, changing tabs will not create a new session for you.
You will have to hook up the tab change to a different event. The only thing that will create a new session is opening another IE window or having your existing session timeout. The session_start event is intended only when a new session is started, so only events that trigger a new session will execute the code in that method. I think you just need to figure out another event to connect to that will fire when you need it to. Most tab controls will not create a new session and will either display another layer of controls on the page or will load another webpage within the tab control itself. Neither of these will create a new session for you. You should have access to a number of different events connected to the tab control that will work for what you are doing. Best regards, Jon -----Original Message----- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Hevel, Shawn Sent: Tuesday, October 24, 2006 2:44 PM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: [ADVANCED-DOTNET] Session_Start Question I'm using VS 2005 and IE7. I've got an application that goes through Session_Start every time I open a new browser (IE7). When I try opening a new tab in IE7, Session_Start doesn't get called. Has anyone else experienced this? If so, what did you do to have code run for each new tab started? I want code to run for either a new browser that has been started or a new tab that has been started. Thanks for the help. Shawn Hevel, API, AIT Lead Programmer Analyst Information Technology Department South Carolina Farm Bureau Insurance Companies Phone: (803) 936-4331 Fax: (803) 936-4629 Work Email: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> Home Email: [EMAIL PROTECTED] =================================== This list is hosted by DevelopMentorR http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com