473,480 Members | 1,774 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Session Timeout?

Hello,

is there any possibility to do something when the
session timeouts via code not via the global.asax?

Thanks
Nov 19 '05 #1
4 893
What do you mean, the global.asax is code.

"Vishal" <an*******@discussions.microsoft.com> wrote in message
news:0b****************************@phx.gbl...
Hello,

is there any possibility to do something when the
session timeouts via code not via the global.asax?

Thanks

Nov 19 '05 #2
No.

You can only execute code,
when Session_OnEnd fires, via global.asax

Juan T. Llibre
ASP.NET MVP
===========
"Vishal" <an*******@discussions.microsoft.com> wrote in message
news:0b****************************@phx.gbl...
Hello,

is there any possibility to do something when the
session timeouts via code not via the global.asax?

Thanks

Nov 19 '05 #3
The Global.asax can only run, when I make the folder an
IIS application right? Is it possible to run the
Global.asax without making the folder an IIS application?

Thanks so far.
-----Original Message-----
No.

You can only execute code,
when Session_OnEnd fires, via global.asax

Juan T. Llibre
ASP.NET MVP
===========
"Vishal" <an*******@discussions.microsoft.com> wrote in messagenews:0b****************************@phx.gbl...
Hello,

is there any possibility to do something when the
session timeouts via code not via the global.asax?

Thanks

.

Nov 19 '05 #4
Again, no.

Global.asax will not execute unless the folder
is at least a virtual directory, or an application.

Juan T. Llibre
ASP.NET MVP
===========
"Vishal" <an*******@discussions.microsoft.com> wrote in message
news:09****************************@phx.gbl...
The Global.asax can only run, when I make the folder an
IIS application right? Is it possible to run the
Global.asax without making the folder an IIS application?

Thanks so far.
-----Original Message-----
No.

You can only execute code,
when Session_OnEnd fires, via global.asax

Juan T. Llibre
ASP.NET MVP
===========
"Vishal" <an*******@discussions.microsoft.com> wrote in

message
news:0b****************************@phx.gbl...
Hello,

is there any possibility to do something when the
session timeouts via code not via the global.asax?

Thanks

.

Nov 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
43150
by: Geigho | last post by:
Setting session timeout in web.config file does not seem to have any effect. Any explanation or suggestion will be appreciated.
4
15441
by: DavidS | last post by:
First: There are several ways to confuse one regarding session timeout. (1) web.config - <sessionState timeout="20"> (2) IIS Manager | Internet Information Services | ServerNode | Default Web Site...
8
7287
by: Joe Abou Jaoude | last post by:
hi, I have a web app with forms authentication and a timeout session of 20 mins for security reasons. I recently added a feature that allows users (if they want to) to automatically log in...
11
2982
by: Vishal | last post by:
Hello, can anybody tell me how I can extend the session expiry time? Is it done via code or via IIS? Sorry I am new and dont know about this.
5
2069
by: Just D. | last post by:
Do we have any access to the Session object from a different Session? The idea is to save Session of a current user and then if he logs in again then return the Session back. It's not a problem to...
8
5465
by: bdeviled | last post by:
I am deploying to a web environment that uses load balancing and to insure that sessions persist across servers, the environment uses SQL to manage sessions. The machine.config file determines how...
17
5175
by: jensen bredal | last post by:
Hello, i'm struggling with a somehow badly understood session scenario. I provide acces to my pages based on form authentication using Session cookies. Som of my pages are supposed to be...
4
9411
by: UJ | last post by:
I have a page where the user can upload a video file. As you can guess, this may take a while. Is there a way I can change the session timeout for just this one page? I would also want to change...
25
6030
by: =?Utf-8?B?RGF2aWQgVGhpZWxlbg==?= | last post by:
I tried: <sessionState timeout="1"> </sessionState> bounced IIS, and after 1 minute still had a session. ??? -- thanks - dave
6
3750
by: ChrisAtWokingham | last post by:
I have been struggling with unexpected error messages on an ASP.NET system, using SQL and C#. The application draws organisation charts, based on data stored in the SQL database. Some of the chart...
0
7037
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7080
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6735
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
6895
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5326
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4770
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4476
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
2977
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1296
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.