this blog is for monday, 24/03/2003
yesterday i has been a long day... dam sleepy and shagged!!! so buay tahan.. go sleep liao... so din blog...
after many days of (eating snake)ing... my supervisor came back to office today... and I finally got the urge to program!!
today's task is to program a security feature that kicks a user out when his user id is being used in 2 workstation... this is how I go about doing it...
1. create a table to do logging of user sessions...
2. during login, delete away any previous logs of the user, and create a new log for the user, with his ip address... that means the latest user with same user id that logins will have the access
3. on every page... you have to check if the current user has a matching ip address as the user log, or else, kick that user out (set empty all cookies, redirect to login page)
that's all!!
after work, I went to meet my usual gang of friends... sebas told me that there's something important to announce.... and guess what?? Ying Liang and Wei Xiang is back from HK!!! so glad, happy and suprise to see them doing fine.. and free of diseases... you know why coming back? becuase of the diseases in HK lor... I had a great time talking cock with them, which I haven't in 2 months!! their surprise brighten up my mood... we went for dinner and then a movie at 9.30pm...the movie was "Cradle 2 The Grave", the actions were good, but the plot is bad...
It was 11.30 when the movie ends... and still have to buy groceries when I reach home.... damm shagged... after watching the "Ten Word Road Mouth" (you know what I'm saying)... i buay tahan.. go sleep liao.... zzzZZZZZzZZZzzZZ...
No comments:
Post a Comment