Can I have two separate logins/restricted directories in the same web site?

Hi,
I want to have an admin area where I go against a user table to see if the user has admin rights and a separate area of the web site where regular users need a username and password that is validated against a different table.
All the pages in the admin area are in the admin directory.
All the pages in the other restricted area are in a consumers directory.
Both these directories are off the root.
Will this work ok? It seems to be, but I just wanted to check.
Many thanks!

No, I have two separate tables. It seems to be working, and I am hoping it is because I've kept all the pages that use one table in one directory, and all the pages that use the other table in another directory. Just wondering if I am asking for trouble. They are two different functions. One is for site administration, and one is for a number of users.

Similar Messages

  • Can I have two active versions of JRE on the same PC?

    Some one please advice me if I can keep two different versions of JRE on the same PC running under Win NT. I have to use one version(1.2.2) of JRE for running an application and a later version(1.3) for running some other applications.
    I tried to install both and when I checked the registry entries, only one verion seems to be active at a time. Is there any workaround?
    thanx,
    Anoop.

    Multiversion support is available in JDK 1.4.
    You can download JRE 1.4 Beta 3 from http://java.sun.com/j2se/1.4
    and test this functionality.
    The following url discusses this topic in detail with a mix of version 1.3 and 1.4 examples. Similarly, you can have a mix of version
    1.2 and 1.4 also for your needs.
    http://java.sun.com/j2se/1.4/docs/guide/plugin/developer_guide/version.html
    Hope this helps.
    Cheers!
    Sun-DTS

  • Can I have two identical PCs with clones of the same hard drive?

    This all started when I had a problem with my first pc, a gateway laptop, would not wake up from sleep due to, supposedly, a driver problem. I didn't want to send it off for my free, under-warrantee, repair and be without a computer for however long that
    would take. So I bought another one and took it to a local dealer to clone the hard drive of the first one to put on the new one.
    This created a number of odd problems which eventually I figured out had something to do, it seemed, with Microsoft not allowing two identical machines to exist like that. I only plan to use one, the other one being exclusively for backup or in case something
    happened to the first. But I think the problems occurred when I tried to switch back and forth, to do some texting.
    Is there a way I can accomplish this?
    Thanks.

    Until Windows 7, it was possible to use two identical PCs with same clone. Provided, both the PCs must be legally licensed to use the Windows operating system (version as well as edition) and of same OEM, model and spec. This is possible because, the product
    keys are common for all the PCs of same OEM build (if preinstalled, and the installed product key is different from the one mentioned in COA). This made OEM builders to distribute to more PCs than the license agreement, which is impossible for Microsoft to
    find out. To solve this issue, Microsoft changed the licensing structure from Windows 8 - embedding the product key in BIOS. So, here, only the installation is provided and the product keys are not common for all the PCs even if they are of the same OEM build.
    Therefore, cloning fails here. And naturally, as Team Zigzag and EC Ltd say, same product key can't be used for more than one PC.
    As to restore the PC in case of an emergency, you can perform a backup of the existing installed software and user files, which can be restored later (File History in Windows 8). The following links may be helpful:
    http://windows.microsoft.com/en-us/windows-8/what-happened-to-backup-restore
    http://blogs.technet.com/b/keithmayer/archive/2013/09/17/backup-amp-recovery-of-windows-8-windows8-itpro-tipoftheday.aspx#.UkC-hmLrbIU
    Balaji Kundalam

  • Two separate enterprise WiFi networks in the same building

    I work in a building that currently has Cisco controller based access points. The access points aren't managed by us and are actually part of another campus. We are given access to them but they don't work quite like we want them to. So we are wanting to bring in our own Cisco WLC 2504 with 3702 APs. But when we brought this up with the main campus they said we can't have two separate enterprise wireless networks in the same building. That their APs will mark our APs as rogues and try to shut them down. There was also mention that they can't share the same channel and that the radios will negotiate with each other to determine how much power they need for coverage. But from what I've read none of that is true. So maybe I misunderstanding something and hoping someone here with more experience can shed some light on this. The only reason we would want to keep their wireless in the building is so when their staff come to our office they can use it. 
    So can two separate WLC/AP systems on different subnets and broadcasting different SSIDs exist in the same building with out causing any issues?

    By default, the WLC code does not try to contain rogue AP's.  Just lots of alarm's and unclassified rogue's.
    In this case you hosts may have actually enabled containment but would have also received a screen full of warning about the public nature of the unlicensed wifi band.
    Here the Superior Court system is side by side with the County system even to the extent that the AP's are next to each other.  Gets fun.  Since each SSID constitutes a rogue, each unit represents a LOT of rogues to report.
    Good Luck

  • Can I have two separate iTunes accounts on the same computer?

    Can I have two separate iTunes accounts on the same computer?  My wife's music is much different than mine.  Can we have different iTunes libraries to work with on the same computer?

    Yes. Launch iTunes with the Shift key held down as needed, or use separate Windows user accounts on the computer.
    (107261)

  • Can I have two separate email addresses in my mail?

    Hi,
    Can I have two separate email addresses/users with my one email account without paying anything extra?
    For instance: one email address with [email protected]
    And another one at: [email protected]
    And, if that's possible:
    1. Does it mean paying extra because you are having two separate accounts?
    2. Since it is on the same general account, do the emails and return emails show in the same location or do they show in a different place? For instance, if the 2nd user sends and email and someone returns it, will I as the first user name see both of those?
    Thanks much,
    Lee

    You can have up to five additional addresses, but they are not separate accounts. They are called 'email aliases' and are simply extra addresses which feed into the main inbox (and please note that you cannot create any new @mac.com adresses, they will be @me.com). Please see here about aliases:
    http://homepage.mac.com/rfwilmut/notes/mobileme.html#alias
    It's actually a good idea to give everyone an alias address rather than the main one, since if it gets spammed you can easily change it, whereas as you can't change your main address without opening a new account.
    If you need extra email accounts then you could go for a MobileMe Family Pack. Of course you can always set up free accounts with Google or Yahoo.

  • HT2542 Can we have two separate itunes accounts using the same mac?

    I am wanting to download music to my Thunderbolt smart phone (i know, no iphone yet, next upgrade) and I want to use itunes to do it. My partner has an itunes account and I thought I opened my own itunes account, but apparently I didn't. I don't like the same music and only want to download music I like to my phone. Can we just have one account and be able to download checked music from the itunes to multiple devices?

    I'm confused
    Can we have two separate itunes accounts using the same mac?
    Can we just have one account and be able to download checked music from the itunes to multiple devices?
    Do you want one or two?
    By the way, and iTunes account is really the thing you use online to purchase music, not what you have on a computer.  You have user accounts on a computer, and you have iTunes libraries or collections of media.  You can have multiple user accounts on a computer.  You can have a single or multiple user accounts use a single or multiple libraries.  We need to know exactly what it is you have/want.

  • My husband does not have an itunes account and wants to set one up and we only have the one computer. can you have two separate accounts? We want to set up separate iphones.

    My husband does not have an itunes account and wants to set one up and we only have the one computer. can you have two separate accounts? We want to set up separate iphones.

    How to use multiple iPods, iPads, or iPhones with one computer

  • HT204053 can you have two separate iCloud accounts on one iMac device?

    can you have two separate iCloud accounts on one iMac device?

    You can have only one iCloud "user configuration" per local user on the Mac. Who the local user belongs to doesn't mind. Since it's a local user it's not related with who actually uses it. So let's say you want to set up Photo streaming using your iCloud user, just configure iCloud (under System Preferences) the same way you did on your phone and you're done.
    But, beware: if you're only interested in synching photos, uncheck everything else when configuring iCloud on the Mac, otherwise you will merge, for example, your husband contacts, calendar and mail with those on your phone.
    If you want to avoid any problems you can easily create another local user on the Mac with your name, under System Preferences, System, Users & Groups. After you create the user, logoff. The Mac will ask if you want to disable autologin (since there's more than one user that can log in now), answer yes and you will be presented with a logon screen. Click on your account name, insert the password and configure iCloud to sync with your phone.

  • Can you have two separate icloud accounts for two iphones that sync with the same imac?

    can you have two separate icloud accounts for two iphones that sync with the same imac?

    Welcome to the Apple Community.
    Yes and no.
    There is no issues at all if you use two user accounts on the mac, each can sync with one of the accounts.
    If you are using a single user account, you can add the second account as a secondary account in settings > mail, contacts and calendars and you can then sync mail, contacts, calendars, notes and reminders from the second account, but not documents and data, back to my mac or photostream.

  • If you registrate one Apple ID for each iPhone/iPad, you'll get 5GB on iCloud for each Apple ID, right? I have two iPhones and one iPad  with the same Apple ID, why can't I get 5 GB fo each of them?

    If you registrate one Apple ID for each iPhone/iPad, you'll get 5GB on iCloud for each Apple ID, right? I have two iPhones and one iPad  with the same Apple ID, why can't I get 5 GB fo each of them?

    Actually, everyone missed one point, when a device is priced, the cost of icloud storage space for that device is also included in it that is why they are able to give you 5gb each for each user ID, in nutshell there is nothing free coming with apple device purchase, it is paid for.  What they are trying by giving only 5gb per user ID irrespective of the number of devices used is pure broadlight looting, they take money from you when you buy each device and give you nothing, This is a case of goods and services bought but not fully deliverd ie apple can be suied for discreminatory treatment towards it's users. I wonder why no one tried this yet in America where everyone sue everyone for petty things..... there is no one to take up this issue? . if tim got any love for the guys who shell out money for the devices his company makes, he should be implimenting this as priority before someone wake up from sleep and sue him.

  • I have two devices (Iphone and Ipad) on the same Apple ID. When I go to Icloud and click at the "find Iphone" I see only one of my devices. How can I do to see both of them?

    I have two devices (Iphone and Ipad) on the same Apple ID. When I go to Icloud and click at the "find Iphone" I see only one of my devices. How can I do to see both of them?

    Obvious question, but have you got 'Find My iPhone' set on both devices?  Settings>iCloud>Find My iPhone.

  • Hi can someone tell me if it is possible to have two accounts (from different countries) in the same laptop?

    Hi can someone tell me if it is possible to have two accounts (from different countries) in the same laptop?

    Hi...
    The issue is that your credit or debit card credentials must be associated with the same country where you reside to make purchases.
    "Although you can browse the iTunes Store in any country without being signed in, you can only purchase content from the iTunes Store for your own country. This is enforced via the billing address associated with your credit card or other payment method that you use with the iTunes Store, rather than your actual geographic location."
    From here >  The Complete Guide to Using the iTunes Store | iLounge Article
    Billing policy is the same for both the iTunes as well as Mac App Stores.

  • HT204053 If two separate iPhones are signed into the same AppleID can the iMessages be read on both devices?

    If two separate iPhones are signed into the same AppleID can the iMessages be read on both devices?

    Welcome to the Apple Support Communities
    You're right

  • I have two iPods that show up with the same name on my iTunes account.  How do I separate them?

    I have two iPods that show up with the same name on my iTunes account.  How do I correct so that I can put different music on each ipod?

    I figured it out.  Thanks.

Maybe you are looking for

  • FCP 7 (Studio 3) with new OS and new computers. Will it work?

    I have read, and mostly likely so have you, that a new Power Mac will be introduced sometime this spring. I don't know when it will be available to purchase, though. My concern is that as a FCP Studio 3 user, Not FCPX, that the new machines and whate

  • Open a new page

    Hi! In my application, I've an html file and i want saving or opening . With IE, when i open it, it opens in the same page, instead i want to open it in a new page. Basically i know how to open a new page, but i don't want to open it when i choose to

  • Flashing screen then smoke

    Hi there, When I woke up this morning, lifted the screen of my Macbook to reawaken the computer.  When it opened the display kept flashing on and off.  I closed the screen then opened it again and it continued to flash.  Then some gray smoke wisped u

  • How to get the RFC destination from logical system

    Dear all  ,   i am working on one system and want to fetch data from another R3 sys   i have written call ' FM' dest 'HPCR3' where HPCR3 is hardcoded.   now if i want to remove the hardcoding i need to find out the RFC dest ( HPCR3)   form logical sy

  • Lenovo Twist S230U Integrated Camera not detected

    OS: Windows 8.1 x64 Camera apps says: To get started, connect a camera Device Manager does not show any missing device drivers or errors Attempting to install camera drivers I get the error: " Cannot find the device, abort install" Downloaded the dri