Forms authentication with multiple projects in a solution

Discussion in 'ASP .Net Security' started by Steven J. Reed, Sep 21, 2004.

  1. I am attempting to break my application into multiple projects using the
    technique described in KB #307467.

    I successfully execute my 'Main' project, login based upon Form
    authentication, and click a link to my 'Sub' project. However, when I
    redirect from my 'Main' project to the 'Sub' project (Response.Redirect
    "Sub/subpage.aspx"), I get the error "The resource cannot be found" with the
    Requested URL being Main/Sub/frmLogin.aspx.

    If I create a web.config in my Sub project and create an authorization form,
    all the session variable are gone, implying that a new session has been
    started.

    How can I switch to my sub projects and have all my session info available
    to me?
     
    Steven J. Reed, Sep 21, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Stephen Miller
    Replies:
    0
    Views:
    1,658
    Stephen Miller
    Jun 24, 2003
  2. Eric
    Replies:
    2
    Views:
    1,529
    Tommy
    Feb 13, 2004
  3. DaVBGuy

    forms authentication over multiple projects

    DaVBGuy, May 2, 2005, in forum: ASP .Net Security
    Replies:
    3
    Views:
    268
    Hernan de Lahitte
    May 3, 2005
  4. Keltex
    Replies:
    1
    Views:
    420
    Dominick Baier [DevelopMentor]
    Jan 24, 2006
  5. Eric
    Replies:
    2
    Views:
    596
Loading...

Share This Page