Cookie newbie is confused

I'm starting an application in CS4 which needs to know if a user is logged in.  I've created a cookie at the top of my index page, with an initial value of 'not_logged_in'.  Safari's web inspector shows this cookie exists and confirms its initial value and expiry.
Another page deals with logging in and then sets the cookie to a new value - 'is_logged_in'.  Again, Safari web inspector confirms this has happened.
However, when I link back to the index page the cookie gets re-created with its default value again.  I tried to deal with this by using the following code (at the very top of index.php):
<?php
$logged_in = strpos($_COOKIE['bt_login_state'], 'is_logged_in');
if ($logged_in === FALSE) {
      $logged_in_Status = 'not_logged_in';
      $domain = '.mydomain.com';
      setcookie("bt_login_state", $logged_in_Status, time()+604800, '/',$domain,0);
?>
in the hope that the cookie would only be (re)created if it hadn't already been set.  Naturally this doesn't work.  The intent is that the cookie will eventually contain the i.d. of the logged in user as well but since I obviously don't understand what I'm doing that's all for later.
The page that's doing the logging in contains this code (inside a larger php script talking to a mysql database):
$logged_in_Status = 'is_logged_in';
setcookie("bt_login_state", $logged_in_Status);
What am I failing to understand here?  I assume the cookie has to be created for the first time and then can be modified by pages throughout a site.  But the page doing the creating should only do so if the cookie doesn't yet exist, no?
By the way my testing server is a Mac running OSX Server 10.4.11 or as Safari web inspector puts it:
Apache/1.3.41 (Darwin) DAV/1.0.3 mod_ssl/2.8.31 OpenSSL/0.9.7l PHP/4.4.9
thanks
Justin
Message was edited by: JustinHill-CKA because I mis-typed the php

When I create a section of a site that requires user authentication (logging in) I never use cookies in my code at all.
session_start();
should be the first line (after the opening <?php) of every page that you want people to be able to use without being signed out.
There is a super global variable $_SESSION. You can put arrays of strings into it, but as far as I understand it you can't put other objects into it without serializing them first.
So you would want to use some sort of authentication variable similar to the status variable in your cookie.
You could call it $_SESSION['auth']. Before any of the private information of each page can be displayed you need to make sure that $_SESSION['auth'] is set to a variable of your choice. It is a good idea that the value is kept secret like a password.
There is a bit more about this. But going back to the beginning, you would definitely be able to use sessions to carry variables accross multiple pages, even the same page upon its revisit.
If you want more information on this I would really recommend PHP Solutions by David Powers. That is a great starting place for these sort of situations, and more.
Good luck!

Similar Messages

  • Newbie ARD confusion

    I have just bought the unlimited client version of ARD to allow me to access and control my two office macs, remotely from the laptop when i'm working away from the office.
    I am finding the setting up rather confusing though, and yes, I have used the suggested directions (Kevin Nichols [email protected]) .
    I can access all the computers when i am sat in the office with them all connected to the same network.
    I want to access and control them from other locations (such as from home, or abroad) but i'm not sure how i set this up.
    At home i have an adsl router (dynamic ip) which connects to an airport extreme. I also have an adsl router attached to one of the macs in my office. I guess they both need to have the ports forwarded - however the instructions for the home router (a safecom samr4114) are not too helpful.
    When forwarding ports - one of the boxes requires Host IP Address...but i do not know which it is refering to - is it the IP address on the ARD admin computer, or the home router, or the airport, or the computer i'm connecting to....etc etc?.
    On a related topic....I have 2 laptops at home, both using airport. One has ARD admin and one has the client package loaded. I can see the client with Scanner but it refuses to connect. I have set the preferences to allow ARD connections but it just does nto want to connect. Any suggestions?
    sorry if this all sounds a bit vague - i'm new to networking even though i have been a mac user for over 15years!!
    adam

    So I took the plunge and deleted the old Listener and created a new one. I can still connect to the DB after restarting the Listener, the DB, and the DB console so I guess all is well?
    However, my listener information is no longer displayed in Enterprise Manager as there is nothing listed next to the Listener. I also have the error below in red at the top of the EM screen when I first open it, but then it goes away when the screen refreshes 60 seconds later. Is this normal?
    Error
    java.lang.Exception: Received unexpected response text : <html><head><title>EMDAEMON</title></head><body text="#000000" bgcolor="#FFFFC0"><H1>EMDAEMON</H1><H2> HTTP/1.1 404 , Not Found<br></h2></body></html>

  • Newbie's confusion about Widgets

    Hi everyone, I just made a website by DW CS3. It's my first time to use it and I have found a application called Adobe Widget Browser. There're really many fascinating widgets in it.How can I apply them into my website? Taking into consideration CSS or else? I'm a newbie so I just want to know how to apply these widgets,as simple as possible, as effective as possible. Thank you.

    I really appreciate your help. After months' struggle , I still find it hard to copy the relevant contents to my DW code editing page and visual editing page.
    Lots of reference have been checked, and code correcter tells me some minor mistake or, if code is right, whole visual effect is far from satisfactory,still.
    It's my poor fundational konwledge of WEB language that cause the problem. I think it's easy for others, but me not.
    My computer is performing in Windows 7, and I use Dream Weaver CS3 to creat sites.
    qoute      "Now its just time for some manual labor and copy and past the just generated contents to the website / page of you choice ( don't forget to copy the required folders and dependencies as well )"
    More detail?                I consider it right to copy some related content respectively to ...uh...  head  ... body.....or something. Coping directly as a whole will cause problem that I can't describe.     I really apologize for my stiky situation and delayed reply.

  • Newbie layout confusion

    Hi,
    I have an application whose UI consists of a JSplitPane split vertically with a JScrollPane in both sides. In the left pane is a JTree, and in the right is a JPanel.
    The right hand side JPanel is set to BoxLayout and contains a number of sub-JPanel 'rows', with each row set to FlowLayout can containing a JLanel and another component such as a JTextField for editing a value. Code:
    package test;
    import java.awt.*;
    import javax.swing.*;
    public class Main {
        public static void main(String[] args) {
            EventQueue.invokeLater(new Runnable() {
                public void run() {
                    new Test();
    class Test extends JFrame {
        Test() {
            super();
            this.setDefaultCloseOperation(EXIT_ON_CLOSE);
            JPanel panelLhs = new JPanel(), panelRhs = new JPanel();
            JScrollPane viewRhs = new JScrollPane();
            JSplitPane split = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, panelLhs, viewRhs);
            panelLhs.setPreferredSize(new Dimension(200, 100));
            panelRhs.setLayout(new BoxLayout(panelRhs, BoxLayout.Y_AXIS));
            viewRhs.setViewportView(panelRhs);
            for (int i = 4; i-- != 0;) {
                JPanel subpanel = new JPanel(new FlowLayout(FlowLayout.LEFT));
                subpanel.setBorder(BorderFactory.createLineBorder(Color.BLACK));
                JLabel label = new JLabel("label " + Integer.toString(i));
                JTextField field = new JTextField("field " + Integer.toString(i));
                label.setPreferredSize(new Dimension(150, 25));
                field.setPreferredSize(new Dimension(150, 25));
                subpanel.add(label);
                subpanel.add(field);
                panelRhs.add(subpanel);
            add(split);
            pack();
            repaint();
            setVisible(true);
    }The problem is, this is just demo code (which is why there's no JTree BTW) I've written in an attempt to reproduce what I'm seeing in my 'real' code. In the demo code, the sub-panels line up against the left hand side of the parent panel, and they also grow and shrink as the parent panel grows and shrinks. In my real code, the sub-panels are fixed in size and centered in the parent panel, which I don't want.
    You'd think it would be easy to spot the difference(s) between my real and demo code, but I've been staring at it for ages and can't spot them.
    Can anyone think of anything I could be doing in my real code which is different to the code above to explain why the sub-panels in my real code are fixed size and centered? Or alternatively, what would I need to change in the above to make the sub-panels fixed size and centered in the parent panel? It's probably not going to be something complicated, because I'm fairly new to this stuff and generally just following the Sun tutorials.
    Cheers
    John

    Michael_Dunn wrote:
    any time you have a 'positional' problem in a BoxLayout(Y_AXIS) the culprit invariably
    is the alignmentX() of the preceeding component/s (in relation to the alignmentX()
    of the component that's causing the problem).Thanks for the suggestion, but there aren't any setAlignmentX()s in my code (demo or real).
    You'd think it would be easy to spot the difference(s) between my real and demo code,well, you're the only one with access to both, so the solution is in your hands.I appreciate that, and believe me I'm trying. I'm just hoping one of you experienced people will say 'oh yes I remember that happening to me, and it was because ...'.
    John

  • [Solved] Startx won't work! Laptop issues.

    Okay, here is what Ididin as much detail as possible.
    Dual boot: Windws XP + Archlinux
    the partition is like this
    80 GB XP
    80 GB arch
         *10 GB root
         *70 GB /home
    Video Card: nVidia Geforce Go 6100
    Okay, so after I installed, I decided to and uncomment all available US repositories with HTTP on them, not FTP. Then I did a full system update, and got the latest nvidia drivers. So I run nvidia-xconfig,  got a little confused when it didn't work and I noticed /etc/X11/xorg.conf was missing. After a while I realized I forgot to download Xorg, once I ran the command it worked. I downloaded HAL, started it and it worked. Then I ran startx, and it wouldn't work. I went into the IRC channel, and tried showed all the errors I got, after a while I was told I shouldn't be using root under any circumstances and the first thing I should have done is create my user ID, which I did, then made myself a Sudoer. Obviously, the errors still appeared, no matter what I did with Xorg. -.-
    Here is my Xorg-Configuration
    ection "ServerLayout"
        Identifier     "Layout0"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Mouse0"  "CorePointer"
    End Section
    Section "Files"
    EndSection
    Section "Module"
        Load           "dbe"
        Load           "extmod"
        Load           "type1"
        Load           "freetype"
        Load           "glx"
    EndSection
    Section "InputDevice"
        # generated from default
        Identifier     "Mouse0"
        Driver         "mouse"
        Option         "Protocol" "auto"
        Option         "Device" "/dev/psaux"
        Option         "Emulate3Buttons" "no"
        Option         "ZAxisMapping" "4 5"
    EndSection
    Section "InputDevice"
        # generated from default
        Identifier     "Keyboard0"
        Driver         "kbd"
    EndSection
    Section "Monitor"
        Identifier     "Monitor0"
        VendorName     "Unknown"
        ModelName      "Unknown"
        Horizsync      28.0 - 33.0
        VertRefresh    43.0 - 72.0
        Option         "DPMS"
    EndSection
    Section "Device"
        Identifier     "Device0"
        Driver         "nvidia"
        VendorName     "NVIDIA Corporation"
    EndSection
    Section "Screen"
        Identifier     "Screen0"
        Device         "Device0"
        Monitor        "Monitor0"
        Defaultdepth   "24"
        SubSection     "Display"
            Depth      24
        EndSubsection
    EndSection
    I tried this as well by "#" all the unnecessary parts
    Section "ServerLayout"
        Identifier     "Layout0"
        Screen      0  "Screen0" 0 0
    End Section
    Section "Device"
        Identifier     "Device0"
        Driver         "nvidia"
        VendorName     "NVIDIA Corporation"
    EndSection
    Section "Screen"
        Identifier     "Screen0"
        Device         "Device0"
        Defaultdepth   "24"
        SubSection     "Display"
            Depth      24
        EndSubsection
    EndSection
    Regardless of what I did I got these errors, and warnings
    (WW) The directory "/usr/share/fonts/TTF" does not exist. Entry deleted from font path.
    (WW) The directory "/usr/share/fonts/Type1" does not exist. Entry deleted from font path.
    (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse', or 'vmouse' w$use will be disabled
    (WW) Disabling Keyboard00
    (WW) Disabling Mouse0
    (WW) Open ACPI failed (/var/run/acpid.socket)(No such file or directory)
    (WW) Warning, couldn't open module type1
    (EE) Failed to load module "type1" (module does not exist, 0)
    (WW) Warning, couldn't open module freetype
    (EE) Failed to load module "freetype" (Module does not exist, 0)
    (EE) Failed to load /usr/lib/xorg/modules/extension//libdri.so
    (EE) Failed to load module "dri" (loader failed, 7)
    (EE) Failed to load /usr/lib/xorg/modules/extension//libdri2.so
    (EE) Failedto load modules "dri2"
    I also got something like this between all the dri's
    dlopen:libdrm.so.2: cannot open shared object file: No such file or directory
    and the final errors
    (EE) NVIDIA(0) failed to load NVIDIA kernel module!
    (EE) ***Aborting***
    (EE) Screen(s) found,but none have a usable configuration.
    Fatal Server Error:
    No Screens found
    Those are all of them in the log.
    Finally, I tried modprobe nvidia and got this
    FATAL: Module nvidia not found.
    That is everything, this linux newbie is confused, and too stubborn. C_c Fluxbox, and startx won't work no matter what I do, please help?
    Last edited by SirEdgar2nd (2009-08-17 09:23:13)

    Yep carol.
    Nope I didn't install freetype.
    Also, I noticed whenever I try to install nvidia I get an error that says these files already exist, and that there is a: Errors occured. No packages were upgraded. In a list of a bunch of files I can't even really list out at the moment.
    Pacman -S nvidia gets me that error, when I tried reinstalling xorg, it worked fine. Even when I deleted the cache, and uninstalled files it had the same issue.
    I was told to install the latest version available though (again). since I installed some version I got back in 2008 in December. But I've been too hesitant since I felt I might need one of those extra CDs later. So I figured out how to do it through USB, not sure if I should just yet though.
    And sorry, didn't notice that long error the last time I thought it meant it was already installed.
    But I did do a full system update at least though.
    Last edited by SirEdgar2nd (2009-05-29 20:15:02)

  • Burn limits in itunes plus

    I am a newbie and confused!! It says no burn limits and it says burn identical playlists up to seven times! I'm still confused! Help! The way I read it is as long as you keep your music in purchased and don't put them in a playlist you have no burn limits.

    This is very clear to me :-
    Usage Rules.
    Your use of the Products is conditional upon your prior acceptance of the terms of this Agreement.
    (ii) Your license of Products as authorized hereunder permits you to use the Products only for personal, non-commercial use, and not for redistribution, transfer, assignment or sublicensee, to the extent permitted by law.
    For details of your rights and restrictions on your rights to use the Products, see:
    www.mcps-prs-alliance.co.uk or http://www.mcps-prs-alliance.co.uk/about_us/aboutcopyright/Pages/aboutmusiccopyr ight.aspx.
    (iii) You shall be authorized to use the Products on up to five devices (such as a computer) with the iTunes application installed at any time, except in the case of Film Rentals, as described below.
    (iv) You shall be able to store Products from up to five different Accounts on certain devices, such as an iPod, iPhone and Apple TV, at a time. Additional restrictions apply to Film Rentals, as described below.
    (v) You shall be authorized to burn an audio playlist up to seven times.
    (vi) You shall not be entitled to burn Video Products other than for backup purposes, which backups will play via the iTunes application.
    (vii) You shall be entitled to export, burn (if applicable) or copy (if applicable) Products solely for personal, noncommercial use.
    (viii) You may not use Products as a musical "ringer" in connection with phone calls.
    (ix) Any burning (if applicable) or exporting capabilities are solely an accommodation to you and shall not constitute a grant or waiver (or other limitation or implication) of any rights of the copyright owners in any audio or video content, sound recording, underlying musical composition, or artwork embodied in any Product. You may use the audio CD to which you have burned your Products in the same ways in which you may use an audio CD purchased from a retail store, subject to UK copyright laws.
    (x) You agree that you will not attempt to, or encourage or assist any other person to, circumvent or modify any security technology or software that is part of the Service or used to administer the Usage Rules, or interfere with, remove or alter any rights management information on the Products.
    (xi) The delivery of Products does not transfer to you any commercial or promotional use rights in the Products.
    (xii) iTunes Plus Products do not contain security technology that limits your usage of such Products, and Usage Rules (iii) - (vi) do not apply to iTunes Plus Products. You may copy, store and burn iTunes Plus Products as reasonably necessary for personal, noncommercial use.

  • OSGi (Equinox) going forward... or not?

    OSGi (Equinox) going forward... or not?
    Does anyone know why the default is still "Eclipse version:" on the "New Plug-in Project dialog" and not the "an OSGi framework" option? The "Eclipse version:" drop down box stops a version 3.5. Being a newbie this confuses me. The default seem to beg the question OSGi (Equinox) going forward... or not?
    I did a forum search on "Equinox" and found nothing on this topic.

    Yes your observation is correct .
    also make the container free by using this method
    call method g_custom_container ->free.
    This will work .
    Please reward if useful.

  • Calling from Canada

    I am a newbie and confused with the information I have been looking at.  I have been waiting for an Iphone from Verizon, but see that it is using aCDMA as opposed to GSM.  If I am traveling in Canada (primarily) but occasionally to other countries - what are my options.

    Customers can use their iPhone 4s for voice, text, and data services (when available) when roaming internationally in more than 40 destinations that have CDMA Networks. For service availability and rate information, use the Global and International Wizard.
    Copy and paste the links below into your browser's address bar for more information.
    http://b2b.vzw.com/international/Roaming/index.html
    http://www.verizonwireless.com/b2c/splash/iphone.jsp

  • XP Newbie Java P. & JRE Confusion Updates & Error

    Hi!
    I posted this in TechArena, and received a post in reply that suggested I should post here instead...
    I'm an eternal newbie with computers though I never stop trying to learn. I've looked through many posts & don't see an answer to my questions, so I hope this is the right place to ask them.
    I have a Dell Inspiron 1300 laptop with XP Home v. 5.1.266. I use Firefox and AVG. My computer was getting slow and in the last few days some programs started crashing. Today Corel Photo Album crashed. In trying to google the error report I found something mentioned about Java needing old versions deleted, so I checked mine. And this is where I got confused.
    Firest of all, I don't understand what the difference is between "Java Platform" and Java Runtime Environment" and I don't understand which version I should have of each. What I do have is:
    Java 2 Runtime Environment, SE v1.4.2_03
    Java ™ 6 Update 14
    Version 6.0.140
    Java ™ 6 Update 7
    Version 1.6.0.70
    Could someone one tell me what I should have on my computer?
    Also, I read in a post that one shouldn't install an update until the old versions are deleted, yet in another post (somewhere) it said to update and then delete the old versions. I don't know which to believe. Could I get some advice on which is correct?
    Thank you very much!
    dorij

    Thanks for the advice. I did what you said. Then Spybot did a whole scan which took a while. When it returned the computer to me, all the versions of Java were gone from Add/Delete programs. I decided to do a search on "java" just to see what came up. A huge list came up; things like Java Plug.doc, java_install_reg.log, a folder labeled javaws thats located in Sun\Java\Deployment. I'd copy the list, but I don't know how. There are about 89 items on the list.
    Should these files be there? I haven't yet reinstalled the correct update.
    Thanks again.
    dorij

  • I am totally confused!  Please help this newbie :-)

    Hi there,
    I am sorta new to Java. I've learned the basics of the language, but now I am finding myself totally confused with all the new stuff. There is SOOOOO much stuff on the java.sun.com website that I don't know where to begin.
    Ok, here is my question. Well, questions.
    1. Is there a document that describes when exactly one would want to use the J2EE as opposed to the J2SE?
    2. I want to develop a multi-platform small business desktop application. This application needs to support multiple users accessing a database on a server. It also needs to be capable of accessing a web service via the Internet. And there will be a web-based version of the application. So given these requirements, how do I know if I need the J2EE or not? I would like to avoid requiring the J2EE. The idea being to have a desktop application that can be sold for around $100 per seat license. J2EE application servers are relatively expensive, are they not?
    Where do I even begin? Can someone point me to a document or some information?
    Incidentally, I want to do all my development on Linux.
    Thanks for any help!
    Joe

    Suppose somebody said to you "I have just started to learn to cook, and I would like to open a restaurant in Paris. What should I serve, and will I need to know French?" What advice would you give that person? Well, hopefully you would tell that person to get a job washing dishes or waiting tables at a local restaurant and learn the business starting from the ground up.
    Same answer in your case. Start with J2SE and work on learning Java. Also learn about Internet technologies. Then probably after several months to a year you will start to understand the business, and the answers to your questions will become clearer.

  • IWeb Newbie here...I'm Confused

    I am using iWeb to publish a web page using a .Mac account. I was under the impression that if I wanted something to be visible on my web page, then I would need to have that file in my iDisk.
    However, I have used cut and paste in iWeb and the pictures look fine on the website and the source files are NOT in my iDisk. Does iWeb create a "separate" file structre?
    Someone said to go to the folder "sites" in the iDisk. I did and it's empty, yet my web page look fine. I understand using iDisk if I wanted to share files with other or if I am using different computers. I just thought every file on my homepage had to be in iDisk for users to see my page.
    Can anyone clarify? Thanks.

    That's where I am confused. Let's say I have a link
    to an MP3 file in iWeb. The file is in iTunes but
    not in my iDisk. Is there a difference?
    You don't need to worry about things you include from your hard drive from itunes or iphoto or elsewhere via the media browser or drag drop or Insert > Hyperlink > File. They are included in your site and copies are uploaded automatically.

  • CS3: newbie "cookie cutter" question

    I have a complicated shape, that's grouped.
    I also have a simple circle that i want to "cookie cutter" out a selection of the aforementioned complicated, grouped shape, and then make it into a swatch to use as a pattern.
    I can make a clipping mask, easy.
    But I want to ERASE all the extraneous artwork. And, obviously, with a clipping mask, it's merely hidden. And that can't be used as a swatch/pattern because it includes the totality of the art. And I can't seem to stroke my clipping mask.
    I've tried "divide below", "compound path" and all the pathfinder options, and tried to "expand" everything.
    But no dice.
    I know this is something simple... what am I missing?
    tia,
    e

    This is a very frequent topic. It is one of the classic limitations (classic, because the limitation is over two decades old) of Illustrator's pathetic base functionality.
    Note the expectation:
    I know this is something simple... what am I missing?
    Then note the ridiculous array of convoluted, multi-step, caveat-riddled workarounds that are invariably suggested in thread like this:
    There's always the suggestions to resort to Pathfinders, with all their ridiculous artwork-wrecking gotchas: Depending upon the specific paths involved, Pathfinders variously remove strokes, remove open paths, outline strokes and/or fills. So there always follows a lengthy discourse on "clever" sequences, one of which sometimes "gets lucky" and satisfies the specific instance of the thread originator--just because the originator's artwork just happens to have the "correct" kinds of paths/fills/strokes for the Pathfinder "solution."
    There's always the suggestions revolving around Expansion of live Effects (Flattening transparency, making and expanding LivePaint groups, etc.). These all present similar caveats, plus all the complications of nested clipping paths, groupings, etc.
    Almost never is mentioned the closest thing to a straightforward cutting feature that Illustrator offers: The Eraser tool that was trotted out in CS3. This tool would be the correct answer to such situations, were it not so poorly implemented. For the first time ever, it finally gave Illustrator the literally decades-overdue ability to cut across multiple open unfilled paths. But it unpredictably alters the shapes of the paths (!), so I consider it unreliable and unacceptable; a reflection of the increasingly poor quality of this program.
    This is something simple, though--in any decent drawing program other than Illustrator. Examples:
    Corel Draw, Xara Xtreme (others): Draw a path of any shape. Use it to cut (that's cut, not merely mask) any other path or any other group of paths.
    Adobe FreeHand: Use the Knife tool to cut across any number of paths in one stroke. So using guides or grid snaps, you can trim artwork down to a rectangular area with four moves.
    Typically, in the basic art cutting features of other programs, all selected paths are cut. The resulting portions of each cut path retain their existing fill/stroke attributes (unlike the absurd Pathfinder workarounds in Illustrator). Strokes remain strokes (don't get "outlined" to closed paths, as they do in Illustrator's awkward workarounds).
    Note that FreeHand's treatment is basic compared to that of the others mentioned. Illustrator's brand-new Eraser should at least match it's basic utility. But as explained above, it fails to do so, because of its poor quality.
    Illustrator now has no less than four cutting tools (Knife, Scissor, Eraser, Slice) in its over-stuffed but under-powered main toolbox. NONE of them satisfy this most basic functional need. This is just one of several similar examples of how Illustrator's convoluted interface fakes "sophistication" and "power" by presenting a silly array of multiple tools--none of which actually measure up to the job of much more elegant single tools in other drawing programs.
    JET

  • Groups and Auxs - confused Newbie

    Can someone please explain the difference between a group and a bus.
    Case: I want to group my drum tracks to a group to apply automation etc. If I create the group in the mixer, select each drum track and say t's art of the groupdo I still need to apply a 'send' in each track inspector to the aux/bus of the same number as teh group?
    I'm sure this is a Doh! moment for many but despite reading three manuals I can't understand the logic (no pun).
    Thanks

    Older versions of Logic (up to 7?) had "Bus Channels" - if you have an older project or template, you will have these objects. If you are in version 8 or 9, creating a new file from scratch which will not have these objects.
    An auxiliary is a CHANNEL and a bus is a PATH.
    This is the way it should have been implemented from the beginning, but it wasn't so the confusion spread. A bus is any circuit accepts input from multiple sources. Other than the channels, most everything on an analog mixer is a bus; the main stereo mix, the submasters, the auxes, the matrix, etc.
    Think of a bus as a virtual wire. It can be tapped into for a variety of things, from aux sources to compressor side chains. Once you put a signal on a bus in Logic (usually through an aux send) that signal can be used in multiple ways, by multiple objects.
    The auxiliaries can be used for effects or for subgrouping. They are channels with faders and inserts. On hardware mixers, the auxiliary 'channels' are usually little more than level knobs for input and output. Obviously, larger consoles have much greater flexibility in this regard.
    In Logic 8 and 9, you can create a bus "object" in the environment. I wouldn't touch this, BUT IF YOU DO, the cool thing is that you can get at the signal on the bus and effect it - if you want to.
    For example, say you had a snare on track 1, and used an aux send (at unity) which sent its signal over bus 1 to auxiliary 1. If you created a 'bus object' in the environment and pulled down the faer by -6dB, the auxiliary will get a signal that is 6dB down from unity.
    An auxiliary is a channel, a bus is a path (except for that crazy 'bus object')
    Paul

  • One confused newbie

    Sorry, but this ichat thing is not intuitive, and Ralph's FAQ tips is incomplete (at bottom of page it appears to end in the middle of a sentence). I haven't yet wanted to pay for a .mac account, and I don't like the idea of downloading AIM software (ugh to AOL). I finally broke down and signed up an AIM screen name (after about 45 minutes of trying to find a name that had not yet been taken), but am confused about whether I still need to download the AIM software. What I want is to video connect with friends and family who have ichat on their macs. Are the only two options AIM or .MAC? Even with my cup of coffee this morning I'm at a loss. Paul

    Hi Paul,
    You don't need to d/l or install the AIM software to use iChat. All you need is the ID from AOL, and you have that. Have fun! If you wish to iChat with me, my screen name is tevandenberg. Add me to your list of Buddies (+ symbol at bottom of Buddy list), send me a message, and wait for me to reply. It's simple. And don't worry about having me, or anyone else, for a permanent buddy. If you tire of someone for any reason you may block them from your list (highlight their name in the Buddy List then select "Block name" from the Buddies Menu item at the top of your monitor and you no longer appear on their list of "victims".
    Best,
    Tom

  • Env variable confusion - newbie install

    Hello,
    I have completed the installation sequence for db 10g (10.2.0.1) on RHEL 4.3 (x86_64). I am somewhat confused by this installation procedure wrt env. variables such as ORACLE_HOME, ORACLE_SID, ORACLE_BASE, etc.
    The pre-installation guidelines are clear in saying that .bash_profile (in this case) for user 'oracle' should NOT set these variables prior to installation:
    8. If the ORACLE_SID, ORACLE_HOME, or ORACLE_BASE environment variable is set
    in the file, then remove the corresponding lines from the file. (Preinstallation Tasks 2-41)
    User 'oracle's .bash_profile does not get updated during installation; subsequent login as 'oracle' shows that the env. variables are not set via other means. Is there a post-installation step I'm missing?
    Thank you again,
    Scott

    oraenv uses the ORACLE_SID to set the ORACLE_HOME and PATH - including making sure the ORACLE_HOME/bin is unique in the PATH
    But ... unless there is a database instance involved, ORACLE_SID is meaningless. It really does not have meaning until dbca is used to create a database, or the manual counterpart to dbca is invoked and oratab is updated.
    I have found there is a Catch-22 related to the oratab/oraenv which seems to have caused oraenv to be undervalued.
    However, due to the possibility of several ORACLE_HOMEs and several databases, since Oracle7 I have used the following sequence in my .profile
    export PATH=$PATH:/usr/local/bin # if not already done
    export ORAENV_ASK=NO
    ORACLE_SID=orcl
    . orenv
    export ORAENV_ASK=
    and then I am able to source /usr/local/bin/oraenv on demand to set te SID, HOME and PATH for any database.
    It's so useful, I add entries for each ORACLE_HOME into the oratab, regardless of whether it represents a database or not. For example, I will have entries for GridAgent, OMS, and so on.
    I can not explain why the oraenv is not better discussed in the documentation. It misses a major 'feature'.

Maybe you are looking for