473,408 Members | 1,771 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,408 software developers and data experts.

Session Timeout issue.

Hi:
We have a Flex Application hosted on IIS that uses .NET Web Services.
Now the webserver is called "WebApp1". Under this site, have
Webservices site called "Webservice1". Users log in using Forms
Authentication and are directed to Live.aspx that outputs
x-shockwave.flash.

Basically in Page.Load, I have the following code

Response.Clear()
Response.ContentType = "application/x-shockwave-flash"
Response.AddHeader("content-disposition", "inline:
filename=" & swfFile & ".mxml.swf")
Response.BinaryWrite(Buffer)
Response.End()

This is to give you an idea that I am hosting a Macromedia swf file on
a ASP.NET page. Now I need to set a session timeout of 30 mins which I
add to the web.config. Once the swf file is loaded, all actions are
done in flash and the only calls made are web-service calls to the
WebService1 site that contains the different webservices. Now this site
does not have any authentication. The way we make sure that this is a
valid call is to store the SessionID and the NETTicket in the SQL
Database and adding it to the SOAPHeaders. So every webservice request
is authenticated against this.

The problem I have is that the WebApp1 session expires even though the
user is continously sending out Web-service calls to Webservices1. Even
if I do something after say 20 mins, the session does not seem to renew
to 0 and instead the clock ticks on logs the user out in the middle of
doing something.

I am not sure how to approach this. Webservice1 needs to tell WebApp1
that "look I am being used. I need to use the same Session timeout as
you and reset the session time to 0". How do I do that?

Oct 31 '06 #1
0 1096

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

Similar topics

9
by: E Sullivan | last post by:
I am having a time out issue when multiple users are accessing the server. This time out does not happen all of the time. My understanding is that the time out value is actually set in two places....
3
by: Jim Heavey | last post by:
I am wanting to find out a way to timeout my session This issue is that the user retrieve data from a datatable and that data get stale over time, so after 20 minutes, I want to be able to tell the...
5
by: Tim W. | last post by:
Folks. In a B2B Procurement system we've created, we got following Session-Issue: Configuration: We are using IIS 6.0 and added SQL-Based-Sessions in web.config with a timeout of 240 minutes...
2
by: Lars Netzel | last post by:
There's a setting in the IIS where I have set Enabled Session Timeout to 20 minutes Then there's a setting in the WebConfig file.. <sessionState mode="InProc"...
8
by: bdeviled | last post by:
I am deploying to a web environment that uses load balancing and to insure that sessions persist across servers, the environment uses SQL to manage sessions. The machine.config file determines how...
3
by: steph_mw | last post by:
I have a web application and when a user opens the application (using windows integration) and loads some data, it loads a ID number into the session state. If for some reason they go away from...
25
by: =?Utf-8?B?RGF2aWQgVGhpZWxlbg==?= | last post by:
I tried: <sessionState timeout="1"> </sessionState> bounced IIS, and after 1 minute still had a session. ??? -- thanks - dave
14
by: GaryDean | last post by:
The web.config in my asp.net application, running on Server2003, has this entry: <sessionState mode="InProc" timeout="40". In IIS the asp.net State Management timeout setting is 40 for my website....
7
by: Microsoft Newsserver | last post by:
Hi Folks. I have an issue I need some help with if thats OK. I am running Framework 2.0 using Windows Integrated Security. For most of the application we manage session timeouts without the...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.