If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Login - Timed out, asp, ms acsess, vbScript

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-06-07, 05:00
Dilruba Dilruba is offline
Registered User
 
Join Date: Nov 2007
Posts: 7
Login - Timed out, asp, ms acsess, vbScript

i want to make a login session for 20 minutes

if i wrote the following code, then it is giving the dafault value is 20

Code:
<% 
response.write("<p>")
response.write("Default Timeout is: " & Session.Timeout)
%>
But my system is asking for login in an average after 2 or 3 minutes.

so, what should i do?

Please help me.
Reply With Quote
  #2 (permalink)  
Old 12-08-07, 08:48
gvee gvee is offline
www.gvee.co.uk
 
Join Date: Jan 2007
Location: UK
Posts: 10,156
__________________
George
Twitter | Blog
Reply With Quote
  #3 (permalink)  
Old 12-08-07, 23:43
Dilruba Dilruba is offline
Registered User
 
Join Date: Nov 2007
Posts: 7
Quote:
Originally Posted by georgev
i have gone through as per your suggestion, but there is no solution
Reply With Quote
  #4 (permalink)  
Old 12-11-07, 05:08
Marvels Marvels is offline
Registered User
 
Join Date: Jul 2003
Location: Amsterdam, Nederland
Posts: 449
Donīt ask the timeout set it

Quote:
Originally Posted by Dilruba
i want to make a login session for 20 minutes

if i wrote the following code, then it is giving the dafault value is 20

Code:
<% 
response.write("<p>")
response.write("Default Timeout is: " & Session.Timeout)
%>
But my system is asking for login in an average after 2 or 3 minutes.

so, what should i do?

Please help me.
if you wrote above code your asking the timeout
with : Session.Timeout=30 you will set it
so write

<%
response.write("<p>")
response.write("Default Timeout is: " & Session.Timeout)
response.write("</p>")

Session.Timeout=100

response.write("<p>")
response.write("Timeout is now: " & Session.Timeout)
response.write("</p>")
%>

if the server is still logging you out, it can be that your App.folder is changing so if you have a log file in your root folder that is logging something, your app will think sombody has changed a .asp file or so and will reload your site thus logged you out.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
Pingbacks are On
Refbacks are On