Re: How to access aspx page thru the menu control only?
- From: "ValK" <ValK@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 8 Apr 2005 07:11:09 -0700
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
>
>
>
.
- Follow-Ups:
- Re: How to access aspx page thru the menu control only?
- From: Cor Ligthert
- Re: How to access aspx page thru the menu control only?
- References:
- How to access aspx page thru the menu control only?
- From: ValK
- Re: How to access aspx page thru the menu control only?
- From: Cor Ligthert
- Re: How to access aspx page thru the menu control only?
- From: ValK
- Re: How to access aspx page thru the menu control only?
- From: Cor Ligthert
- How to access aspx page thru the menu control only?
- Prev by Date: Re: Newbie Question - Please HELP!
- Next by Date: RE: Excel Reports in VB.NET
- Previous by thread: Re: How to access aspx page thru the menu control only?
- Next by thread: Re: How to access aspx page thru the menu control only?
- Index(es):
Relevant Pages
|