I am using username and password tologin into form but i have to use remeber me option any one have any idea how to use this option i donot have any concept about this please tell me in detail
View Complete Post
I hope you can help me, I tried Google, but none of the solutions worked. Using VB.net and Membership, I have a login control in my master page with a remember me check box. When I check this box and login, some pages indicate that I am not logged in. If I go to another page, it will then indicate that I am still logged in. I have isolated one page that always indicates I am not logged in the first time I visit it, but if log in a second time and then go to it, it will finally recognize me as a user that is properly logged in.
Some pages that this occurs on is in the top level, some pages are in a sub folder.
My MasterPage has the following Form Code:
<body bgcolor="#E0ECF9" topmargin="0" leftmargin="0">
<form id="form1" runat="server">
My Aspx file has a troubleshooting label, several Gridviews and several DetailViews:
<asp:Label ID="lblErRep" runat="server" Text=""></asp:Label>
My aspx.vb file has 1 line of code (Protec
In the login control, the "Remember me next time" checkbox does not appear to work.
If I check it when logging in, when I log in the next time, even a minute later, I go to the login page again.It seems the cookie is not being written to the client. Can't find it anywhere.
My web.config contains:
<forms slidingExpiration="true" timeout="525600"/>
Your help would be much appreciated (any code snippets preferably in VB, please).
Thanking you in anticipation.
I am using Form Based Authentication in my application. I am using standard method to create FormsAuthentication cookie using
FormsAuthenticationTicket ticket = new FormsAuthenticationTicket(1,
username, DateTime.Now, DateTime.Now.AddMinutes(60),
When clicked on particular URL, i need to pass whether user has checked REMEMBER ME CHECKBOX while logging in. How can I determine this using FOrmsAuthentication mechanism?
Any help would be much appreciated.
I am using VS 2010 Ultimate. It is not remembering my setup when opening .xaml files. It is very annonying. I am pretty sure VS remembers things like that.
I prefer to load my .xaml file to see the code only. So I usually minimize the design tab. However, I have to do this every time I open a .xaml file.
I am getting the feeling this setting is stored at the .sln level, which is even more annonying, it should be global setting for all VS sessions.
Hey guys, I hope anybody out there could help me!
I have got an Accordion Control on my MasterPage which acts as a menu. My problem is that when I click on a button within the content pane it displays a new page within the ContentPlaceHolder, but the Accordion resets itself back to SelectedIndex = 0. How can I keep the SelectedIndex = 1 open when I'm response.redirected to another page?
I have heard about sessions but I can't make any sense of them. Any suggestions or solutions would be great!
I have a menu item "Run at Windows Startup" on a form. It is checked by default. When its state is checked I create a shortcut file so it can start automatically when windows starts. And if its unchecked I delete the shortcut file so that it wont start.
This function is written on the application's exit button.
But then, if user start the application manually from the start menu, as the "Run at Windows Startup" item is checked by default user has to uncheck it everytime s/he exits from the application.
So my questions, is there any easy way to remember this selection so user don't have to uncheck it each time s/he exits.
I'm using forms security and have it set up like this"
<forms name="footballmn" cookieless="UseCookies" timeout="500000" protection="Encryption"/>
When I don't check remember me the cookie is set to expire when the browser closes, when I do check remember me the cookie is set to expire in a couple years.
I can then close my browser and go to the site without having to log in, but will be required to log in after 30 minutes. What am I doing wrong?
I have this combobox and I have binded the combobox to the class which inturn is binded with the Database Column so that the items of the combobox is dynamic. If we add the items to the database column the combobox's item is also updated.
Now I want the combobx to remember the last item selected. I have created a new table in the database so that I can store the last selected value.
its designer xaml