WCF expired token?

Posted by Rev on Stack Overflow See other posts from Stack Overflow or by Rev
Published on 2010-03-14T09:30:20Z Indexed on 2010/03/14 9:35 UTC
Read the original article Hit count: 230

Filed under:

Hi i use wshttpbinding in my service Config and message security. my app works fine but after 10 or 20 min when client call any method of service, an exception throw cuz my security token will be expired, and connection cant be work.

one solution is re_create connection to make new token (but i cant use this cuz my service contain datacontext and if i re_create service, datacontext will be new)

other solution is change security type from message to transport (i try this solution but nothing change cuz other exception throw)

© Stack Overflow or respective owner

Related posts about wcf