Re: How to access aspx page thru the menu control only?

Tech-Archive recommends: Fix windows errors by optimizing your registry



Cor,
Thank you for trying to help. This is exactly what I was thinking of. When
user login to the application I will need to set a session.item based on user
role. Something like Session.Item("UserRole") =
myDataTable.Rows(0).Item("Role") and then later check this value on Load
event of the admin page. Just like you do in your message.

Is this would be the best way to handle this situation or there is another
options? I'm a new to this and I would like to write this application in most
efficient way.

Thanks again.

Valk






"Cor Ligthert" wrote:

> Valk,
>
> Maybe I understand you wrong, however why not a login page before that?
>
> And than in your origial page something as
>
> if session.item("user") not is "WhatEver" than me.close in the load event.
>
> Cor
>
>
>
.



Relevant Pages

  • Re: Public Variables in Module1
    ... C derived languages is static. ... The shared declared members are every where usable in a project and will not ... Cor ... Prev by Date: ...
    (microsoft.public.dotnet.languages.vb)
  • Re: How to make MODAL MDIChild
    ... might give only control to another form or whatever as some conditions are ... That is easy to do by setting in the closing event of that form ... Cor ... Prev by Date: ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Parsing a local file
    ... kind of suspected area whatever they say that the reason is. ... Cor ... Prev by Date: ...
    (microsoft.public.dotnet.general)
  • Re: How to thread a function as array (or better)
    ... Here in this message is a little sample of that from me with two assynchroon ... working threads which give back the results. ... Cor ... Prev by Date: ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Best way to move files in VB.Net.....
    ... VBNet allows you that. ... I hope that my explanation is understandable. ... Cor ... Prev by Date: ...
    (microsoft.public.dotnet.languages.vb)