Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 21st, 2007, 09:22 AM
Registered User
 
Join Date: Apr 2005
Posts: 352
Thanks: 14
Thanked 0 Times in 0 Posts
Send a message via Yahoo to rupen
Default how to set ....

session expire, since server is not in my hand, and it has default session expire time as 20 minutes, so when user comes to site and tries to enter some length text which takes around 20 to 30 minutes and when they tries to save it dosent save but lost the data....i used form submission & not passing through querystring.

any idea suggetion so keep session alive for longer time??

Rupen Anjaria.:)
------------------
We CAN'T avoid problems, but can solve it.
 
Old February 21st, 2007, 09:26 AM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

In your global.asa add this

Sub Session_OnStart
Session.Timeout = 30
End Sub

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html

Discussion:
http://p2p.wrox.com/topic.asp?TOPIC_ID=56429
 
Old February 21st, 2007, 09:36 AM
Registered User
 
Join Date: Apr 2005
Posts: 352
Thanks: 14
Thanked 0 Times in 0 Posts
Send a message via Yahoo to rupen
Default

Thanks for the reply...but not having time to write so lenghy stuffs.....else mine way to ASK is always upto the mark....request to read my other questions....

Thanks,

Rupen Anjaria.:)
------------------
We CAN'T avoid problems, but can solve it.
 
Old February 23rd, 2007, 01:54 AM
Authorized User
 
Join Date: Jan 2006
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hii parson,

Thnx for the reply.
I had come across a similar problem, is there any other way out, if i am not using global.asa
 
Old February 23rd, 2007, 03:10 AM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

The only way I knowis to set it in the properties of the individual web site iside IIS. This has the same result. Why would you not want to use a global.asa? A handy little file IMO

Wind is your friend
Matt
 
Old February 23rd, 2007, 05:07 AM
Registered User
 
Join Date: Apr 2005
Posts: 352
Thanks: 14
Thanked 0 Times in 0 Posts
Send a message via Yahoo to rupen
Default

My site dosent have separate virtual folder it is inside the root folder (& it is common for every developers) so global.asa is common for every one...
gmail.com has auto save feature any idea how it works???? if so it could be apply.

Rupen Anjaria.:)
------------------
We CAN'T avoid problems, but can solve it.
 
Old February 23rd, 2007, 07:53 AM
Authorized User
 
Join Date: Jan 2006
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Gmail has auto save features.. does this mean it automatically loads up the inbox without asking for username/pwd of the user??

well in this case i guess gmail is using cookies to store its session variables. and passed accordingly.
 
Old February 23rd, 2007, 05:26 PM
Authorized User
 
Join Date: Feb 2007
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
Default

what he means is when your composing an email, gmail auto saves your type every x seconds to draft.

 
Old February 23rd, 2007, 06:24 PM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

No. Cookies can only store 4K worth of data so your drafts are not held in a cookie, more they are stored (im guessing) in Googles database. If cookies were the case, that means you could only access the PC on which the cookie resides, however, drafts are accessible from any pc that you can access gmail from.

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html

Discussion:
http://p2p.wrox.com/topic.asp?TOPIC_ID=56429





Similar Threads
Thread Thread Starter Forum Replies Last Post
XPath: set operation with a disjoint node set rich_unger XSLT 7 May 6th, 2008 09:24 AM
how to set .... rupen CSS Cascading Style Sheets 1 January 16th, 2007 01:14 AM
how i set charcter set to a connection yoord BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 1 April 23rd, 2005 07:47 AM
How to set DOM character set sonicDace XML 0 May 27th, 2004 08:52 AM
Get Set Tina C# 1 December 23rd, 2003 04:58 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.