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

  • SEARCH
  • Home
  • 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 7619285
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T03:38:54+00:00 2026-05-31T03:38:54+00:00

I have a website, in which a user Logs in. I am using an

  • 0

I have a website, in which a user Logs in. I am using an asp:Login. The login page works fine, but i have associated an event handler that when the user logs in the site will get redirected to an authentication page which will send the Username in this manner.

 protected void LoginUserPass_LoggingIn(object sender, LoginCancelEventArgs e)
        {

            Response.Redirect("~/Authenticate.aspx?user=" + LoginUserPass.UserName);
        }

And the i have set the DestinationPageUrl of my LoginView to be "~/Authenticate.aspx". Once the user is authenticated another Redirection to a members page occurs. However in my Members page it does not show that the user is logged in.

    <asp:LoginStatus ID="LoginStatus1" runat="server" 
        LogoutAction="Redirect" BackColor="White" 
        Font-Underline="True" LogoutPageUrl="~/Default.aspx" />

Where am i going wrong?

  • 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-31T03:38:56+00:00Added an answer on May 31, 2026 at 3:38 am

    when the user logs in the site will get redirected…

    If the user is logging in with a username and password, then you redirect, your user is not logged in before the redirect on the LogginIn event:

    Login.LoggingIn Event

    The LoggingIn event is raised when a user submits login information but before the user is authenticated on the Web site. Use the LoggingIn event to set up any information that you need before authenticating a user.

    Use LoggedIn instead:

    Login.LoggedIn Event

    The LoggedIn event is raised after the authentication provider checks the user’s credentials and the authentication cookie is queued to send to the browser in the next response. Use the LoggedIn event to provide additional processing, such as accessing per-user data, after the user is authenticated.

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

Sidebar

Related Questions

I have a Silverlight web app which uses ASP.net Website administration tool for user
I have a website which uses TinyMCE textboxes for editing. It works fine except
I have a website which has a web page containing list of logs. Now
I have a website which is one page and the user navigates to each
We have a website that has a common logon page. A user chooses which
I am creating a website on ASP.Net in which a user logs on and
I have a website which sells a product to the user (downloadable). I am
I have a website, which will be frequently updated. Sometimes changes happen to User
I have a website which works with PHP on the server side. Users access
I have a website which users can sign up to using Facebook Connect (with

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.