First Question
Reply
![]() |
|
From:
![]() commander4u
|
when user clicks logout button, put the page name in a cookie before ending the session of the user. if user closes the browser then cookie will be gone, so when user again logs in, if u can get the value of the cookie, redirect to that page, else u can redirect the user to any default page u want.
i hope this will work.
On 6/4/05, icsharath <[EMAIL PROTECTED]> wrote: > ----------------------------------------------------------- > > New Message on dotNET User Group Hyd > > ----------------------------------------------------------- > From: icsharath > Message 1 in Discussion > > > > Hi My Dear Friends, > > > > Question: In an ASP.NET Application.. i have total 5 webpages like > > > > 1 One.aspx > > 2 Two.aspx > > 3 Three.aspx > > 4 Four.aspx > > 5 Login.aspx[Default Page] [Set as start Page] > > > > when the User open browser and enters his name and password .. if user > > exists then it has to display One.aspx Page. from there u can go to any > > page 2,3 0r 4. And in every page There is a link to go to 2,3,4 or 2 > > pages. Even i put Logout to each page. when user clicks on Logout i am > > displaying to Login Page. > > > > Now my Question is Suppose iam Presently on Four.ASpx page and i will > > click on Logout then once again entering same user and password then it > > has to go to Four.aspx Page Only? If only if the Browser not Closed. > > > > If Browser close then No Problem. > > > > Waiting For ur Reply > > Sharath > > > > > > > > > > > > > > > > ----------------------------------------------------------- > > To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. > http://groups.msn.com/dotNETUserGroupHyd/_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] >
-- Thanks and Regards, Commander visit my blog at : http://dotnetcapsule.blogspot.com
|
|
View other groups in this category.
![]() |
To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings.
Need help? If you've forgotten your password, please go to Passport Member Services.
For other questions or feedback, go to our Contact Us page.
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.
Remove my e-mail address from dotNET User Group Hyd.
|
|