Ofcourse!! One way is you can update it in a session variable.(say UserType) and check for the session for each operation and If it is not there then for confirmation, You can query to DB.
This type of checking you shd do it in a Filter or Front Controller servlet. Please let me know if you need further information. Thanks and Regards Gourab. On Fri, Mar 5, 2010 at 2:11 PM, kaustubh.k <[email protected]> wrote: > Hi, > I wanted to provide a custom Home page UI after user login ie: if user > is Administrator the should see diffrent UI from normal user. I have > made a RPC call which checks if user is the Administrator when user > logins. Accordingly I return a value(suppose it is true in case of > Admin and false for normal user) fom this value i'm able to change my > UI. But because of this my UI customization check comes at client > side. Is there any way to make this check at server side. > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-web-toolkit%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
