p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.

Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 31st, 2009, 06:00 AM
Authorized User
Points: 316, Level: 6
Points: 316, Level: 6 Points: 316, Level: 6 Points: 316, Level: 6
Activity: 7%
Activity: 7% Activity: 7% Activity: 7%
 
Join Date: Feb 2006
Location: jaipur, rajasthan, India.
Posts: 65
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 06:06 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Session variable expires early BananaJim Classic ASP Professional 0 May 14th, 2007 06:58 AM
urgent: session timeout occurs unexpectedly seemagaur ASP.NET 1.0 and 1.1 Basics 0 October 10th, 2005 01:59 PM
session expires rroutray ASP.NET 1.1 1 May 26th, 2005 03:21 AM
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



All times are GMT -4. The time now is 12:36 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© 2008 Wiley Publishing, Inc