Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6537363
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T10:36:28+00:00 2026-05-25T10:36:28+00:00

I have published an ASPNET MVC3 application to a service hosting. I use standard

  • 0

I have published an ASPNET MVC3 application to a service hosting. I use standard Account controller and I’ve seen that, during app execution – after a DB save – it loses account and the user is continuously redirected to the Login page.

This does not happen on my devel machine.

Do you know which problem is it?

Edit

I’ve put today my ASPNET MVC3 app on WinHosting. The app uses native Forms Authentication used in MVC. I have an AdminController that can be accessed only by authenticated users. when the user goes to Admin/xyz the system correctly redirects him to the login page to authenticate him.

The problem is that when the user is authenticated and waits 10-15 seconds, when he clicks on a link, he is always redirected to the login form even if he is authenticated.

I thought it was a session problem and I asked WinHosting to use SQLServer sessions but I see that the SQL tables (AspStateTemp*) that should handle sessions data are always empty.

Here is the node I added in web.config:

<sessionState mode="SQLServer" allowCustomSqlDatabase = "true" 
sqlConnectionString="data Source=tcp:DB_server;database=DB_name;user id=DB_user;password=DB_passwd" 
cookieless="false" 
timeout="600" /> 
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T10:36:28+00:00Added an answer on May 25, 2026 at 10:36 am

    This solved my problem: http://forum.winhost.com/showthread.php?p=18258#post18258

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have a vb.net application i published it it made an app files diretory,
I have written a little bog standard asp.net mvc3 app in vs web express
I have a flash application (CS3.0) that is published and i got the flash
I have an ASP.NET MVC3 application published to a url like this: http://servername.com/Applications/ApplicationName/ In
I have an Asp.Net MVC application using Forms Authentication that is published to the
This is my first windows application. I have published my project and here are
I have just uploaded my published application files to my web server but I
I published my first app to the Android Market an have the weird problem,
I have published an ASP.NET MVC3 site. It runs great. However, looking back at
i have published asp.net mvc application on iis 6 on the server(windows server 2003)

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.