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 6163189
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T21:47:00+00:00 2026-05-23T21:47:00+00:00

How can i make something like this in MVC3 where i can still use

  • 0

How can i make something like this in MVC3 where i can still use [Authenticate] in the controller (or in a filter that is applied to all pages except the login page) ?

  1. User enters username and password which gets sent to the server as a post request.
  2. Application receives the posted information on the login page [httpPost]
  3. Application creates a new unique SESSIONID and writes it to the database
  4. Application requests that the browser writes a cookie with value SESSIONID=
  5. The next time the user requests a page cookie with SESSIONID= gets send everytime. (until it expires or is deleted)
  6. Application compares SESSIONID and IP address, which has been sent and checks if it exists as a valid session with that IP in the database. (Some session cleanup will be performed on login as well, users other sessions that exists will be removed)

This approach, seems to be rather difficult for me in ASP.NET. 🙂

  • 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-23T21:47:01+00:00Added an answer on May 23, 2026 at 9:47 pm

    This is already build into Asp.Net. I think you should have a look at the Membership provider
    => http://msdn.microsoft.com/en-us/library/yh26yfzy.aspx

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

Sidebar

Related Questions

How can I make something like this below work? <?PHP $_SESSION['signup_errors']['test1']; $_SESSION['signup_errors']['test2']; $_SESSION['signup_errors']['test3']; $_SESSION['signup_errors']['test4'];
How can I make something like this: http://www.litespell.com/altinorumcek/banner/etkilesimli/etkilesimli_craxla.html One flash triggers the other one.
How can make in jQuery something like this: <div id=principal-id></div> // this is principal
i want something like this: http://www.someniceandreliableurl.com/username and catch the username. I want to make
I'm writing an MVC3 application that will need to make use of URL rewriting
Normally I make something like this. #1 first query while () : #2 2nd
how is it possible to make something like this: Admin Creates accounts with specific
So basically what I'm trying to do is make something like this: http://store.kapit.biz/demo/treemap/prod/index.html# I've
It is possible to make something like this? $.ajax({ url: test.php, success: function(json, json1){
I have an mvc3 webgrid that contains results that I would like to filter

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.