Results 1 to 2 of 2
Thread: Login for beginner
- 03-15-2012, 09:55 AM #1
Member
- Join Date
- Feb 2012
- Posts
- 3
- Rep Power
- 0
Login for beginner
Ok, so I am working on a project for school and my professor told me that we have to do it in Java. My past experience is in PHP so I am trying to find the most comfortable manner in switching. I am currently trying to work with JSF but I can't seem to get a login working properly. I can get it to set a user and information about them, refresh the page, user is still logged in; refresh the page again and it logs out... Kinda stumped.
Can anyone point me in the right direction for a login or could give me a better framework to be working with?
Thanks in advance!!
- 05-31-2012, 08:15 AM #2
Member
- Join Date
- Mar 2012
- Posts
- 41
- Rep Power
- 0
Re: Login for beginner
Probably not logged out, it simply didn't send parameters to the server second time.
store your users password and name on the end of each html markup written link(except externals).
Normally login is kept in a cookie in the browser cache and operated by javascript(much the same way but through a function to modify the a href= url ).
Java Code:< a href="javascript:urlsend();">link</a>
Similar Threads
-
JSP Login
By mpraveenu in forum JavaServer Pages (JSP) and JSTLReplies: 4Last Post: 01-17-2012, 05:03 AM -
Login
By geniusokorro in forum NetBeansReplies: 5Last Post: 08-07-2011, 01:48 PM -
help with login
By dhazwa in forum New To JavaReplies: 2Last Post: 07-23-2011, 08:05 PM -
login.jsp
By roo7 in forum Enterprise JavaBeans (EJB)Replies: 5Last Post: 12-02-2008, 03:58 PM -
cannot open database requested in login. Login fails
By banduskank in forum JDBCReplies: 0Last Post: 06-25-2008, 12:41 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks