PC Review


Reply
Thread Tools Rate Thread

determine cookie expiration

 
 
Brett Smith
Guest
Posts: n/a
 
      12th Aug 2005
I have a winforms app that access a web resource using forms authentication.
I programatically login to the site, and catch the cookies. I then pass the
cookies to my httpwebrequest.

I neet to know how to tell when the cookie has expired so that I can have
the app login again.

The other issue is session timeout. the web resource is Exchange Outlook Web
Access. It will time an inactive session out. how do I determine if my
session has timed out, so I can fource another login

I have considered logging in for every httpwebrequest, but when attempt to
do that I get a timeout response from the login procedure unless I unload
the app and start it back up again. At first I thought I was not disposing
the httpwebrequest or the cookie cache properly, but I double checked and
made sure that all my objects were disposed, or set to equal nothing when
the procedures finishes


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
Cookie expiration Oriane Microsoft ASP .NET 17 11th Feb 2009 08:09 AM
Cookie expiration issues SJ Microsoft ASP .NET 5 22nd Nov 2006 07:44 PM
Cookie expiration ignored? SJ Microsoft Dot NET Framework 0 2nd Nov 2006 04:20 PM
Expiration (cookie?) Walter Levine Microsoft ASP .NET 1 27th Apr 2005 09:09 AM
Cookie Expiration Brian Microsoft ASP .NET 0 28th Jul 2003 08:55 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:45 PM.