Wrox Programmer Forums
|
Classic ASP Professional For advanced coder questions in ASP 3. 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 Professional 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 October 31st, 2009, 05:00 AM
Authorized User
 
Join Date: Feb 2006
Posts: 67
Thanks: 7
Thanked 0 Times in 0 Posts
Send a message via Yahoo to beetle_jaipur
Default Session Variable expires unexpectedly

Hi All,

i am facing a little problem about Session variables:

here is the ref. page :
www.redboxindia.in/index.asp

it has one link which shows session timeout value, session ID values and a link to check is session is still active or not.

the code part is :
index.asp :

HTML Code:
<htm>
...
..
<body>
<% Session("Test") = "Ashok" %>
<%=("Session Timeout is :" & Session.timeout) %>
<%=(" and Session ID is :" & Session.SessionID) %>
<a href="SessionCheck.asp" target="_blank">session Check</a>
.
.
.
.</body>
</html>
SessionCheck.asp:

HTML Code:
<% if Session("Test") <> "" then
        response.Write("working")
    else
        Response.Write("terminated")
    end if 
%>
problem:
within 1 minute my session variable gets expired and my webhosting company says to recheck the code...

can someone help me out to.
is there any programming error.

thanks for your consideration

best regards
ashok sharma

Last edited by beetle_jaipur; October 31st, 2009 at 05:06 AM..





Similar Threads
Thread Thread Starter Forum Replies Last Post
Session variable expires early BananaJim Classic ASP Professional 0 May 14th, 2007 05:58 AM
urgent: session timeout occurs unexpectedly seemagaur ASP.NET 1.0 and 1.1 Basics 0 October 10th, 2005 12:59 PM
Session expires immediately codebuyer Classic ASP Components 6 March 18th, 2005 12:54 PM
Session expires imediately on logging in codebuyer Classic ASP Professional 3 February 24th, 2005 02:37 AM





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