• Post Reply Bookmark Topic Watch Topic
  • New Topic

long->BIGINT type casting  RSS feed

 
Rajkumar balakrishnan
Ranch Hand
Posts: 445
Android Eclipse IDE Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends,
i develop an web application and it has to maintain user session by storing the session details in MySQL db. And then by check it i'll give the permissions. Here is my table




Here is the code to set the creation time as one of the session Attribute in rmalogin.jsp




This one is for retrieve the session value from rmalogin.jsp in adminhome.jsp





When i try to run the login page it logins and then redirects to adminhome but the below error is displayed instead of adminhome page... Here is the error report



I know the problem is with the type casting but i didn't know how to fix it.. Any help will be appreciated
 
Shikhar Madhok
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Change


to


HTH
Shikhar
 
Rajkumar balakrishnan
Ranch Hand
Posts: 445
Android Eclipse IDE Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Shikhar Madhok ,
I had resolved the problem myself and your reply helps me a lot... Anyway thanks for your valuable reply...
 
Rajkumar balakrishnan
Ranch Hand
Posts: 445
Android Eclipse IDE Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Shikhar Madhok ,
I had resolved the problem myself and your reply helps me a lot... Anyway thanks for your valuable reply...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!