Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Session timeout in ASP.NET MVC subdomain to DNNSession timeout in ASP.NET MVC subdomain to DNN
Previous
 
Next
New Post
11/28/2012 2:31 PM
 

Hi,

  We're using DNN as our portal and have a ASP.NET MVC application as virtual directory inside it to utilize Single Sign On (SSO) feature of DNN.

SSO works fine and our ASP.NET MVC application works properly. However, the ASP.NET MVC session is lost after couple of minutes, even though DNN session is still valid.

Default DNN session is 20 minutes and both website are on different application pool. We even used the same application pool for both website, no success.

I appreciate any guidance.

 

thanks,

Reza

 
New Post
12/4/2012 4:53 PM
 

Hi,

Per Sharing Authentication Tickets Across Applications guidelines, I copied the machinekey from DNN web.Config to ASP.NET MVC Web.Config.

As per documentation this supposed to correct the session timeout, however the issue still exist and Health Monitory logs the following exception:

** Events **
---------------
Event code: 4005
Event message: Forms authentication failed for the request. Reason: The ticket supplied has expired.
Event time: 12/4/2012 3:18:52 PM
Event time (UTC): 12/4/2012 8:18:52 PM
Event ID: 012a495534014401a1a16be1b869b536 Event sequence: 359 Event occurrence: 2 Event detail code: 50202

Process information:
    Process ID: 4644
    Process name: w3wp.exe
    Account name: NT AUTHORITY\NETWORK SERVICE

Request information:
    Request URL: http://server/aspmvc/
    Request path: /aspmvc/
    User host address:
    User:
    Is authenticated: False
    Authentication Type:
    Thread account name: NT AUTHORITY\NETWORK SERVICE
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Session timeout in ASP.NET MVC subdomain to DNNSession timeout in ASP.NET MVC subdomain to DNN


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out