Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Forms authentication in WebServices and timeout

Reply
Thread Tools

Forms authentication in WebServices and timeout

 
 
j_a5
Guest
Posts: n/a
 
      09-29-2004
Hi,
I am having an issue with forms authentication and timeout. I created a
simple web application and a web service based on the example in
http://www.dotnetbips.com/displayarticle.aspx?id=166
I enabled the forms authentication for the web service and set the timeout
for the forms authentication to a small number (2 minutes). I am able to use
forms authentication to login to the webservice. However once I login, it
timesout at 2 minutes after I login even when I was accessing the web
service every 30 seconds. Is there something I am missing in forms
authentication and WebServices?
To reproduce
1. Create a simple app based on the example at
http://www.dotnetbips.com/displayarticle.aspx?id=166
2. Set the forms auth timeout to a small number say 2 min
3. log on and access the webservice every 30 seconds
4. After 2 minutes from logging in the webservice rejects the cookie
although you have been actively using it.

Thanks in advance
j_a5


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Best practices for using forms authentication and security in a hosted env (was: Re: Using a Forms authentication in a shared hosting environment) JEFF ASP .Net 1 11-12-2007 07:00 PM
forms authentication -- expired forms cookie vs. not provided forms cookie Eric ASP .Net Security 2 01-27-2006 10:09 PM
Timeout::timeout and Socket timeout Mark Probert Ruby 1 10-06-2004 09:30 AM
Forms Authentication question: How to have some pages open and some requiring forms authentication Eric ASP .Net 2 02-13-2004 02:14 PM
web.config session timeout and forms authentication timeout Do ASP .Net 2 11-23-2003 02:27 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57