473,378 Members | 1,314 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Time out for page

Hi!

How do I set the timeout for a page?

Session.timeout is for the sesstion AFIAK.

BR
Sonnich

Apr 19 '07 #1
6 1215
You can set the expiration for a page using the pragma meta tag, but not
much else. Since the user is not connected to the web page once the page is
served until a new request or postback is made, a timeout in the strict
sense doesn't do much. Setting the expiration on the page through the pragma
meta tag does give the browser an idea of when to expire it from the cache,
or not to cache it at all, but that's about all you can do.
--
Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006

"Sonnich" <so************@elektrobit.comwrote in message
news:11**********************@n59g2000hsh.googlegr oups.com...
Hi!

How do I set the timeout for a page?

Session.timeout is for the sesstion AFIAK.

BR
Sonnich

Apr 19 '07 #2
"Sonnich" <so************@elektrobit.comwrote in message
news:11**********************@n59g2000hsh.googlegr oups.com...
How do I set the timeout for a page?
What precisely do you want / expect to happen when the "timeout" has
expired...?
Apr 19 '07 #3
I'm not sure a "page" can time out...
What are you trying to accomplish exactly?

--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net
"Sonnich" <so************@elektrobit.comwrote in message
news:11**********************@n59g2000hsh.googlegr oups.com...
Hi!

How do I set the timeout for a page?

Session.timeout is for the sesstion AFIAK.

BR
Sonnich
Apr 19 '07 #4
My guess you want to change the timeout of the request. In case you need to
run long lasting code. And ASP.NET times out before it finishes?

Bad news. You can not. There is Server.ScriptTimeout but it only works when
compiled in DEBUG mode.

George.

"Sonnich" <so************@elektrobit.comwrote in message
news:11**********************@n59g2000hsh.googlegr oups.com...
Hi!

How do I set the timeout for a page?

Session.timeout is for the sesstion AFIAK.

BR
Sonnich

Apr 19 '07 #5
On Apr 19, 6:52 pm, "George Ter-Saakov" <gt-...@cardone.comwrote:
My guess you want to change the timeout of the request. In case you need to
run long lasting code. And ASP.NET times out before it finishes?

Bad news. You can not. There is Server.ScriptTimeout but it only works when
compiled in DEBUG mode.
I found this:

Server.ScriptTimeOut

I asume it is in seconds. i set it to 60*10 asuming that it is 10
minutes, only in some cases it takes almost 3 minutes....
Apr 20 '07 #6
That thing only works when project compiled in debug.
Does not work otherwise.

George.

"Sonnich" <so************@elektrobit.comwrote in message
news:11**********************@n76g2000hsh.googlegr oups.com...
On Apr 19, 6:52 pm, "George Ter-Saakov" <gt-...@cardone.comwrote:
>My guess you want to change the timeout of the request. In case you need
to
run long lasting code. And ASP.NET times out before it finishes?

Bad news. You can not. There is Server.ScriptTimeout but it only works
when
compiled in DEBUG mode.

I found this:

Server.ScriptTimeOut

I asume it is in seconds. i set it to 60*10 asuming that it is 10
minutes, only in some cases it takes almost 3 minutes....


Apr 20 '07 #7

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

Similar topics

10
by: Yang Li Ke | last post by:
Hi guys, Im about to build a script which will log visitor time spent on my website. I got a few ideas about this, maybe checking visitors ip and storing that info in db with time in and then...
5
by: Gord | last post by:
Many scripts and calendars call client side system time in order to make presentations. However, the client's time may be improperly set, if set at all, and/or the relevant time may be from...
11
by: lduperval | last post by:
Hi, I`m trying to do date calculations in three types of time zones: local, GMT and specified. The issue I am facing is that I need to be able to specify a date in the proper time zone, and I`m...
5
by: RICHARD BROMBERG | last post by:
I am writing an ASP program that includes a Form. When the Form is submitted I use the Date() and Time() functions to put the date and time into the Body part of the e-mail. The time reported is...
5
by: Manish Jain | last post by:
Environment: Windows 2000 Server (SP4), ASP.Net/C# (Framework 1.1) Hardware: PIII @ 700 MHz, 512 MB RAM ----------------------------------------------------------------------------...
9
by: Adrian Dragomirescu | last post by:
Hello, I have the following problem: In my ASPX page is a button called "Import". The action of this button is to import a set of data in my database. I have to import big datasets and this...
7
by: Shimon Sim | last post by:
I have a custom composite control I have following property
3
by: Jim in Arizona | last post by:
I have a gridview that's being populated from an access db query. The problem I'm having is that the date/time fields in access that are populating the gridview are showing both date and time, when...
2
by: Roseanne | last post by:
We are experiencing very slow response time in our web app. We run IIS 6 - windows 2003. I ran iisstate. Here's what I got. Any ideas?? Opened log file 'F:\iisstate\output\IISState-812.log'...
2
by: Teenzonez | last post by:
Hi I am doing a simple application using ajax which wil fetch time from server to a javascript function. i have one html file and one asp page. In the html page i have two text boxes by name...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.