Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Will setting static machineKey resolve FormsAuthentication issue in web farm??

Will setting static machineKey resolve FormsAuthentication issue in web farm??

Scheduled Pinned Locked Moved ASP.NET
csharphelpquestionasp-netdatabase
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mark Graham
    wrote on last edited by
    #1

    My site is hosted on a shared server that is load balanced in web farm. I don't have access to IIS, machine config files, or anything that isn't directly related to my FTP space and my Sql Server(and that's limited). My Problem I now want to introduce an authentication process in to the site. I already have my own 'CreateAccount' and 'SignIn' asp.net pages(not using Asp.Net provided controls), and I want to use them with FormsAuthentication class. I want to know if adding static keys to machineKey section in MY SITE'S web.config (not machine web.configs) will resolve any potential issues with decrypted authentication cookies in web farm. I'm not familiar with the set up of farms but presumeably my site will be copied to several servers - all using the same web.config(my web.config) Hope I've made myself clear. Please ask me a question if you aren't sure of anything... Thanks for your time.... Mark

    Mark Graham (MCP) // The Doodler blogging about C#, Asp.Net, and Design Patterns at: codeArch[^] and contributing at dotNet Notepad[^]

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups