On the Login form this is my code:
<BODY>
<P>
<TABLE id=TABLE1 style="WIDTH: 778px; HEIGHT: 107px" cellSpacing=0 
cellPadding=0 
width=778 border=0>
  
  <TR>
    <TD vAlign=bottom width=150><FONT face=Arial size=2><IMG 
height=99 
      src="Images/Library.jpg" width=324></FONT></TD>
    <TD vAlign=bottom>
      <P><FONT size=5>Miami-Dade Public Library System<BR><span 
lang="en-us">
      Personnel Database</span></FONT></P>
      <P>&nbsp;</P></TD></TR></TABLE></P>
<table border="0" cellpadding="0" cellspacing="0" width="800">
  <tr>
    <td>
    <p align="left"><span lang="en-us"><font size="2">This database 
is restricted for use by 
    authorized personnel only.</font></span></td>
  </tr>
</table>
<P>&nbsp;</P>
<P>
<FORM id=form1 name=form1 action="Mainmenu.asp" method=post>
<TABLE cellSpacing=1 cellPadding=1 width=0 border=0>
  
  <TR>
    <TD>EnterUserID:</TD>
    <TD><INPUT id=txtUserID style="LEFT: 0px; TOP: 2px" 
name=txtUserID></TD></TR>
  <TR>
    <TD>EnterPassword:</TD>
    <TD><INPUT id=txtpassword type=password 
name=txtpassword></TD></TR>
  <TR>
    <TD><INPUT id=btnsubmit type=submit value=Submit 
name=btnsubmit></TD>
    <TD><INPUT id=btnreset type=reset value=Reset 
name=btnreset></TD></TR></TABLE></FORM></P>

</BODY>

On the Global.ASA  this is my code:
select case rs(2)
                                case "STANDARD":
                                
        Response.Redirect "MDPLS_Mainmenu.asp"
                                
                                case "DIRECTOR":
                                
        Response.Redirect "MDPLS_MainmenuDIR.asp"
                                
                                case "MANAGER":
                                
        Response.Redirect "MDPLS_MainmenuMGR.asp"
                                
                                case "ADMINISTRATOR":
                                
        Response.Redirect "MDPLS_Mainmenutor.asp"       
                                
                                case "ASSISTANTDIRECTOR0600":
                                
        Response.Redirect "MDPLS_PilliphsMainmenu.asp"
                                        
                                case "ASSISTANTDIRECTOR0500":
                                
        Response.Redirect "MDPLS_BillMainmenu.asp"      
                                
                                case "ASSISTANTDIRECTOR0100":
                                
        Response.Redirect "MDPLS_SylviaMainmenu.asp"    

                                case "ASSISTANTDIRECTOR0700":
                                
        Response.Redirect "MDPLS_LucreceMainmenu.asp"
                                
                                case "DIRECTOR0600":
                                
        Response.Redirect "MDPLS_DirectorMainmenu.asp"

                                case else
                                        Session.Abandon
                                
        'Response.Redirect "this_is_a_test.ASP" 
                                        Response.Redirect "Login.htm"
        
                                        
                                        
                        end select


Please let me know as soon as you can!!!



--- In [EMAIL PROTECTED], Mark E 
<[EMAIL PROTECTED]> wrote:
> I would need to see your code.  I don't know what you are actually 
doing, how you manage permissions, where you store values, etc.
>  
> Post some code and I can help.
>  
> Mark
> 
> Arnnie Martinez <[EMAIL PROTECTED]> wrote:
> Can you give me some example of the I can use?
> 
> --- In [EMAIL PROTECTED], Mark E 
> <[EMAIL PROTECTED]> wrote:
> > Throw in some response.write's and see what values are coming 
back 
> both times to find any differences.
> >  
> > If this doens't work, post more details on how you manage 
> permissions.
> >  
> > Mark
> > 
> > Arnnie Martinez <[EMAIL PROTECTED]> wrote:
> > Dear friends:
> > 
> > I have an issue.  I have developed a form with a login form and 
> > multiple menus forms.  Based on the user ID and password the user 
> get 
> > an expecific screen.  The problem that I am getting is this:
> > 
> > An user login.
> > The user click the back button from the toolbar and got back to 
the 
> > Login screen.
> > Then the user enter again the user ID and password, and he get 
> > another menu screen not the assigned one.  
> > 
> > How can I prevent this from happeing?
> > 
> > 
> > 
> > 
> > ------------------------------------------------------------------
--
> -    
> > Home       : http://groups.yahoo.com/group/active-server-pages
> > ------------------------------------------------------------------
--
> -
> > Post       : [EMAIL PROTECTED]
> > Subscribe  : [EMAIL PROTECTED]
> > Unsubscribe: [EMAIL PROTECTED]
> > ------------------------------------------------------------------
--
> - 
> > 
> > 
> > Yahoo! Groups SponsorADVERTISEMENT
> > 
> > 
> > ---------------------------------
> > Yahoo! Groups Links
> > 
> >    To visit your group on the web, go to:
> > http://groups.yahoo.com/group/active-server-pages/
> >   
> >    To unsubscribe from this group, send an email to:
> > [EMAIL PROTECTED]
> >   
> >    Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
> Service. 
> > 
> > 
> >             
> > ---------------------------------
> > Do you Yahoo!?
> > Friends.  Fun. Try the all-new Yahoo! Messenger
> > 
> > [Non-text portions of this message have been removed]
> 
> 
> 
> 
> --------------------------------------------------------------------
-    
> Home       : http://groups.yahoo.com/group/active-server-pages
> --------------------------------------------------------------------
-
> Post       : [EMAIL PROTECTED]
> Subscribe  : [EMAIL PROTECTED]
> Unsubscribe: [EMAIL PROTECTED]
> --------------------------------------------------------------------
- 
> 
> 
> Yahoo! Groups SponsorADVERTISEMENT
> 
> 
> ---------------------------------
> Yahoo! Groups Links
> 
>    To visit your group on the web, go to:
> http://groups.yahoo.com/group/active-server-pages/
>   
>    To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
>   
>    Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
Service. 
> 
> 
>               
> ---------------------------------
> Do you Yahoo!?
> Friends.  Fun. Try the all-new Yahoo! Messenger
> 
> [Non-text portions of this message have been removed]




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/17folB/TM
--------------------------------------------------------------------~-> 

---------------------------------------------------------------------    
 Home       : http://groups.yahoo.com/group/active-server-pages
---------------------------------------------------------------------
 Post       : [EMAIL PROTECTED]
 Subscribe  : [EMAIL PROTECTED]
 Unsubscribe: [EMAIL PROTECTED]
--------------------------------------------------------------------- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/active-server-pages/

<*> To unsubscribe from this group, send an email to:
     [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
 

Reply via email to