List Info

Thread: Session_Start Question




Session_Start Question
user name
2006-10-25 11:43:04
Thanks to all who responded.  My next question is:  Is there
something in
the Global.asax that I could code for (one of the other
events) that will
always get touched with each new tab that is opened?

Thanks,

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: shawnhevelscfbins.com
Home Email: hevelhousesc.rr.com

-----Original Message-----
From: Dominick Baier [mailto:dmlistsLEASTPRIVILEGE.COM] 
Sent: Tuesday, October 24, 2006 3:57 PM
To: ADVANCED-DOTNETDISCUSS.DEVELOP.COM
Subject: Re: [ADVANCED-DOTNET] Session_Start Question

a new tab runs in the same process - and all cookies will be
reused for that
new connection - meaning you already have a session cookie
so no
Session_Start will be triggered.




cheers,
dominick

-----------------------------
Dominick Baier, DevelopMentor
http://www.leastprivile
ge.com


-----Original Message-----
From: Discussion of advanced .NET topics.
[mailto:ADVANCED-DOTNETDISCUSS.DEVELOP.COM] On Behalf Of Hevel,
Shawn
Sent: Dienstag, 24. Oktober 2006 21:44
To: ADVANCED-DOTNETDISCUSS.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: shawnhevelscfbins.com <mailto:ShawnHevelscfbins.com> Home
Email: hevelhousesc.rr.com




===================================
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


===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Session_Start Question
user name
2006-10-25 12:43:39
no,
the browser doesn't tell the server when the user opens a
new page in the
same process.

-----Original Message-----
From: Discussion of advanced .NET topics.
[mailto:ADVANCED-DOTNETDISCUSS.DEVELOP.COM]On Behalf Of Hevel,
Shawn
Sent: Wednesday, October 25, 2006 7:43 AM
To: ADVANCED-DOTNETDISCUSS.DEVELOP.COM
Subject: Re: [ADVANCED-DOTNET] Session_Start Question


Thanks to all who responded.  My next question is:  Is there
something in
the Global.asax that I could code for (one of the other
events) that will
always get touched with each new tab that is opened?

Thanks,

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: shawnhevelscfbins.com
Home Email: hevelhousesc.rr.com

-----Original Message-----
From: Dominick Baier [mailto:dmlistsLEASTPRIVILEGE.COM]
Sent: Tuesday, October 24, 2006 3:57 PM
To: ADVANCED-DOTNETDISCUSS.DEVELOP.COM
Subject: Re: [ADVANCED-DOTNET] Session_Start Question

a new tab runs in the same process - and all cookies will be
reused for that
new connection - meaning you already have a session cookie
so no
Session_Start will be triggered.




cheers,
dominick

-----------------------------
Dominick Baier, DevelopMentor
http://www.leastprivile
ge.com


-----Original Message-----
From: Discussion of advanced .NET topics.
[mailto:ADVANCED-DOTNETDISCUSS.DEVELOP.COM] On Behalf Of Hevel,
Shawn
Sent: Dienstag, 24. Oktober 2006 21:44
To: ADVANCED-DOTNETDISCUSS.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: shawnhevelscfbins.com <mailto:ShawnHevelscfbins.com> Home
Email: hevelhousesc.rr.com




===================================
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


===================================
This list is hosted by DevelopMentor®  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

Session_Start Question
user name
2006-10-25 13:52:46
Begin_Request gets called for _every_ request - not sure if
that helps... 




cheers, 
dominick

-----------------------------
Dominick Baier, DevelopMentor
http://www.leastprivile
ge.com 


-----Original Message-----
From: Discussion of advanced .NET topics.
[mailto:ADVANCED-DOTNETDISCUSS.DEVELOP.COM] On Behalf Of Hevel,
Shawn
Sent: Mittwoch, 25. Oktober 2006 13:43
To: ADVANCED-DOTNETDISCUSS.DEVELOP.COM
Subject: Re: [ADVANCED-DOTNET] Session_Start Question

Thanks to all who responded.  My next question is:  Is there
something in
the Global.asax that I could code for (one of the other
events) that will
always get touched with each new tab that is opened?

Thanks,

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: shawnhevelscfbins.com
Home Email: hevelhousesc.rr.com

-----Original Message-----
From: Dominick Baier [mailto:dmlistsLEASTPRIVILEGE.COM]
Sent: Tuesday, October 24, 2006 3:57 PM
To: ADVANCED-DOTNETDISCUSS.DEVELOP.COM
Subject: Re: [ADVANCED-DOTNET] Session_Start Question

a new tab runs in the same process - and all cookies will be
reused for that
new connection - meaning you already have a session cookie
so no
Session_Start will be triggered.




cheers,
dominick

-----------------------------
Dominick Baier, DevelopMentor
http://www.leastprivile
ge.com


-----Original Message-----
From: Discussion of advanced .NET topics.
[mailto:ADVANCED-DOTNETDISCUSS.DEVELOP.COM] On Behalf Of Hevel,
Shawn
Sent: Dienstag, 24. Oktober 2006 21:44
To: ADVANCED-DOTNETDISCUSS.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: shawnhevelscfbins.com <mailto:ShawnHevelscfbins.com> Home
Email: hevelhousesc.rr.com




===================================
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


===================================
This list is hosted by DevelopMentor®  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

Session_Start Question
user name
2006-10-25 18:45:48
> Thanks to all who responded.  My next question is:  Is
there something in
> the Global.asax that I could code for (one of the other
events) that will
> always get touched with each new tab that is opened?

Well, you could always handle the fact that it's not a
post-back, and
check the referrer isn't one of your pages... between those
two
things, you're guessing its a "new window".

I wonder what your intent is... if you just want to allow
users to
spawn new "sessions", you can do what we do, have
a "seperate session
GUID" assigned when the page is first hit.  Then in
your returned
stuff put that GUID in a hidden variable or all links as a
query-string parameters (as appropriate).

Then, when you want and explicit "new window", you
have the URL
decorated with something that declares that intent.

--
"We do not have the luxury of making that risky
assumption that people
will not be affected by the potential change. I know this
can be
frustrating for you as it is for us. Thanks for your
understanding in
this matter.." --Some misguided soul at Microsoft

Marc C. Brooks
http://musingmarc.blog
spot.com

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )