473,394 Members | 1,742 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Session End Synchronisation

I am working on a phased migration of a large ASP app to
ASP.NET using .NET Framework 1.1.

There is a strict 15 minute no activity logout for this
app, which obviously correlates to a session timeout.
However, I am having trouble synchronising the timeout in
ASP.NET and ASP. For instance, if a user is working for
16 minutes within the ASP.NET portion of the site, then
navigates to ASP functionality a timeout is triggered and
the user is automatically logged out.

I'm sure that I'm not the first to have encountered this,
is there a common technique used to overcome this problem?

Any assistance here would be greatly appreciated.

Thanks,

Glenn.
Nov 17 '05 #1
1 921
Glenn,

One fairly easy workaround would be to place a 1x1 px image or iframe in
each page whose source is an aspx or asp from the other portion of the site.
To avoid client-side caching, you might need to throw a random query string
onto the end of the page url. e.g.:

<img src="somepage.aspx?rnd=38598395" width=1 height=1 alt="" border=0>

The pages don't need to have any content. They just need to be loaded from
the server in order to reset the session timeout.

HTH,
Nicole
"Glenn" <an*******@discussions.microsoft.com> wrote in message
news:0c****************************@phx.gbl...
I am working on a phased migration of a large ASP app to
ASP.NET using .NET Framework 1.1.

There is a strict 15 minute no activity logout for this
app, which obviously correlates to a session timeout.
However, I am having trouble synchronising the timeout in
ASP.NET and ASP. For instance, if a user is working for
16 minutes within the ASP.NET portion of the site, then
navigates to ASP functionality a timeout is triggered and
the user is automatically logged out.

I'm sure that I'm not the first to have encountered this,
is there a common technique used to overcome this problem?

Any assistance here would be greatly appreciated.

Thanks,

Glenn.

Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: wesley | last post by:
Hi List, I have a question on collection synchronisation. For example I have an ArrayList called myList and the code is like this: lock (myList.SyncRoot) { // do update on myList...
10
by: Dumbo Liz | last post by:
Hi I hold a Design Master for development and synchronise this weekly with my colleague who enters data and runs reports. This has worked well for the last 3 months. (He e-mails me a copy and I'm...
0
by: Tony Epton | last post by:
I am not quite a newbie in the area of SQL server - more "knows just enough to be dangerous" - so please be gentle with me. Cross posted to several groups - apologies if too far off topic I...
0
by: Ondine | last post by:
I have a client running Access 2000 on a desktop (win 98) acting as the 'server' and a Sony Viaio notebook (win 2000). They are synchronising and the data on the laptop is continually getting...
9
by: Dave G | last post by:
The unexpected problem is this - say, 2 pcs called A and B, both running my Access program, both arranged in a FE/BE arrangement. There is an unbound form in the program. When the form opens all...
0
by: tbb | last post by:
Hi is it possible to do the synchronisation of the briefcase programmatically? Greets tim
1
by: chengsi | last post by:
Hello, I am trying to create a button which users can click to activate the synchronisation process within a replica set without having to use the MS Access menus or the Database window (as both...
19
by: Hapa | last post by:
Does only reading (never writing) of a variable need thread synchronisation? Thanks for help? PS. Anybody knows a Visual C++ news group?
4
by: sujatha k | last post by:
I want to create one window service to synchronice my local database with server database.i've done the synchronization process in .net application it is working fine. i copied tat code and put it in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.