search www.15seconds.com for Forms Auth. I wrote 2 articles on it and explained it in detail.
----Original Message Follows---- From: "Mohit" <[EMAIL PROTECTED]> Reply-To: "dotnet" <[EMAIL PROTECTED]> To: "dotnet" <[EMAIL PROTECTED]> Subject: Forms Authentication Date: Tue, 24 Sep 2002 09:46:40 -0700 Hi, I was working on the Forms Authentication, and have a question regarding it. My Web application has 2 files 1. Login.aspx and 2. Default.aspx When an unauthorised/unauthenticated user tries to view Default.aspx then the user is redirected to Login.aspx. OR When the session of an authenticated user expires and if the user tries to submit a form on Default.aspx to IIS then again the user is redirected to Login .aspx There is no code on Defalut.aspx, then how does the user get redirected??? Does the Dot Net framework do the "check" (checks for a valid session, and if there is no cookie on the client side then it redirects the user to Login.aspx) Which class does this "check". Can that class be inherited?? Is it the FormsAuthentication Class which does the redirection? Can i build my own custom "check" I am asking these questions, because the Forms authentication only reads/stores "Get" request Any form data in Default.aspx is not retrived and passed on to Login.aspx. Can Forms Authentication be modified such that it can handel POST and GET requests. Currently only the querystring data can be retrived but not the form data. How can i change this? Also Default.aspx does not have any code, so how does the function which does the authentication, get fired??? Can anyone help me, i will be very thankful!!! Regards, Mohit --- You are currently subscribed to dotnet as: [EMAIL PROTECTED] To unsubscribe send a blank email to %%email.unsub%% --------- Administrated by 15 Seconds : http://www.15Seconds.com List Archives/Search : http://local.15Seconds.com/search Subscription Information : http://www.15seconds.com/listserv.htm Advertising Information: http://www.internet.com/mediakit/ Jeff Gonzalez .NET Software Engineer Email : [EMAIL PROTECTED], [EMAIL PROTECTED] http://www.15seconds.com/issue/wa.htm#gonzale _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx --- You are currently subscribed to dotnet as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] --------- Administrated by 15 Seconds : http://www.15Seconds.com List Archives/Search : http://local.15Seconds.com/search Subscription Information : http://www.15seconds.com/listserv.htm Advertising Information: http://www.internet.com/mediakit/
