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 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/
