----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: pawanns Message 1 in Discussion Hi Group, How to redirect to loginpage if the user gives directly any page without login. i don't want to check in each page whether session is there or not. is any other procedure to validate and redirect to login page. we tried with formsauthentication.RedirectFromLoginPage its working fine only problem is its showing the querystring returnUrl=pagename and i don't want to display it. as it gives the user wrong direction. after validating it should goto Page1.aspx. its working fine first time but if the user trying to view Page2.aspx directly its redirecting to login page correctly only problem is now its showing querystring returnUrl as Page2.aspx and if login its directly going to Page2.aspx but it should go to Page1.aspx. Thanks in advance. Regards Pandu ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/BDotNet/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
