Session Timeout issue.

A

ambarishs

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top