A new window

Results 1 to 2 of 2

Thread: A new window

  1. #1
    Join Date
    Dec 1969

    Default A new window

    Hi,<BR>I want a user to click on a Login button, but the user&#039;s welcome page(personalised home page) should be opened in a new window.<BR><BR>That is FormsAuthentication.RedirectFromLoginPage() should open the page in a new window. How can I achieve this?<BR><BR>Thanks,<BR>Chandana

  2. #2
    Join Date
    Dec 1969

    Default RE: A new window

    Just emit some javascript into the page that opens a window once they are authenticated.<BR><BR>Similar to this in psuedo-code:<BR><BR>-----------------------------------<BR><BR>- Authenticate User<BR>- Set Authentication Cookie<BR>- Page.RegisterStartupScript("redirect", "window.open(...)")

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts