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 April 6th, 2005, 09:11 AM
Registered User
 
Join Date: Apr 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to IS_Princess
Default Frameset and Session State Question

Background:

I am using a Frameset for my intranet home page. When-ever a user refreshes page in mainframe, I check a session var on each page load to make sure the session has not expired, which it should do in 20 minutes.



Here is the problem, in the top frame – banner.aspx, I need to have <meta http-equiv="refresh" content="20"> in order to reload the banner page so that in the pageload event, I can run a SQL query to check some status and then display the results in the top page. Ie: Status is ON or Status is OFF.



This all works well, but now, it seems that the meta refresh is refreshing the session so that it never times out. I started with the frameset in .html, I have set enablesessionstate to false in the banner.aspx and I have also tried the frameset in .aspx, all with the same result, the session never expires because of the banner refresh.



Questions:

Does anyone have any ideas on how I can keep the banner frame refreshing with out refreshing the session for the other frames/pages?








Similar Threads
Thread Thread Starter Forum Replies Last Post
Session state error shoakat ASP.NET 2.0 Professional 9 July 26th, 2007 12:09 PM
Session State|View State|Do I have other options? rockon ASP.NET 1.x and 2.0 Application Design 2 October 5th, 2005 07:10 PM
maintaining session state in C# grs General .NET 0 January 13th, 2005 03:46 AM





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