Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



Reply
Session.timeout and auto save?
Old 09-28-2006, 01:07 PM Session.timeout and auto save?
Novice Talker

Posts: 12
Trades: 0
Hi,

i have a wyswig editor ib my site. It stores all the data(text/images) in an access database. The trouble is i have a server.timeout on it and obviously when it times out i lose all the data.

Is there away of making it so it either:

1. Auto saves everything when the timeout happens?
2. Auto saves everything after say 5 mins?

Many thanks

Joe
Gibson is offline
Reply With Quote
View Public Profile Visit Gibson's homepage!
 
 
Register now for full access!
Old 09-28-2006, 06:12 PM Re: Session.timeout and auto save?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
With ASP
1/ No
2/ No


2/ is possible with a javascript timer. But it would have to reset on each keypress or mouse movement otherwise it would submit at the end of the time period regardless.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 09-28-2006, 08:52 PM Re: Session.timeout and auto save?
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
I think he's talking about a script timeout.

Try this:

Server.ScriptTimeout = 180
(180 seconds = 3 minutes.)

If your script takes longer than that to execute, you've got a deeper issue with your script.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Reply     « Reply to Session.timeout and auto save?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.86936 seconds with 12 queries