Why is About:config not saving user changes?

Ok heres the problem.
In about:config
searched for keword.url
had - chrome://browser-region/locale/region.properties
as the setting
tried to change to - http://www.google.com/search?hl=&q=
works with the changed link, until you restart firefox. then it reverts back to - chrome://browser-region/locale/region.properties
any ideas why it wont save my change?

''preference for keyword.URL works when set, but reverts at start of new session''
I would expect that you are overriding it in with a user.js file in your profile.
It that is the case simply remove the override from user.js modify through about:config (not by editing prefs.js) and restart Firefox. user.js is optional, if you don't have the file, its mention does not apply.
Another possibility is that the about:config file is write protected from copying from a CD-ROM which is read only. If that is the case you will see several numbered version of prefs.js in your profile.

Similar Messages

  • Why is my Safari not saving my settings?

    Why is my Safari not saving my settings?

    Delete safari .plist file.
        Quit all applications.
        Option click the "Go" menu in the Finder menu bar.
        Select "Library" from the drop down.
        Library > Preferences >  com.apple.Safari.plist
        Right click it and select "Move it to Trash".
        Restart.    Relaunch Safari.
    Best.

  • Why SQL queries are not saving in agentry editor for first publish?

    Hello Experts,
         In the process of developing an agentry application i have defined SQL steps and saved in agentry editor with out any errors .When i have published definations for first time it is displaying error 'Invalid object some where' in back end SQL log file ,when i have seen in editor some times the query is not saved,some times even it is defined then also the same  error.So i have copied the steps and saved again.Now i have done a publish,it is working fine.This is happening only when i implement exchange mechanism(Showing error in ATE getfetch error).But with out exchange mechanism  it is working fine.Is this related to the installation of editor plig-in is not correct?. I have done preferences setting in my workspace correctly.
              Help me in this regared.Thanks in advance.
    Thanks & Regard,
    Sravanthi Polu

    Sravanthi,
    For your error: displaying error 'Invalid object some where' in back end SQL log file.. This is happening only when i implement exchange mechanism(Showing error in ATE getfetch error)
    Two suggestions (My best suggestion is item 2 below - I think that is where you have the error)
    Item 1: Are you using the right encoding? In your Eclipse Editor under the main menu Windows - Preference -> General -> Workspace. What is your Text file encoding set to? Cp1252? Try setting it to UTF-16.
    There is a tutorial about this in:
    https://service.sap.com/sap/bc/bsp/spn/esa_redirect/index.htm?gotocourse=X&courseid=70246375 (Enterprise Academy classes). The course is really a simple < 5 minutes discussion on different types of encoding and why they exist and how to change the Eclipse to what you wanted.  SQL is normally done in UTF-16 for 16 bit.
    I am assuming that the encoding could be wrong.
    Item 2: Another thing that could be wrong is how you specify the SDML (Flunky code). 
    In your SQL Script: Anything that has the "<<" and ">>" open and close marker is an SDML (Data Markup Language) and needs to be pre-populated before the Agentry Server submits your SQL query to the backend. In essence, this is use to populate the SQL query with predefine information like your userID or location and when the SQL gets process it will populate the script with the correct information.
    So if you are not properly using the flunky (ex: <<object.address>> where address is not a key ID in a Fetch step (Check manual for usage of SDML AgentryLanguageReference_6.0.0.0.pdf) then you may get invalid object.
    When you do a SQL "Fetch" Client Exchange and Server Exchange Steps, you can select a few options:
    For this discussion let us talk about these 2 items below.
    1. Run Attribute: Run One Time
    or
    2. Run Attribute: Run Once Per Object.
    When you select Run Once Per Object the only available Flunky or SDML commands you have are:
    object.keyPropertyName
    lastUpdate
    fetch.messageNumber
    The 3 above are your only options
    If you try to do something like object.property1 where property1 is part of your object properties then it will not work for Run Once Per Object.
    It may work for Run One time as fetch.propertyname.
    From your symptoms where you are complaining about an issue in exchange steps, your error is a typo or a misused or a misunderstanding of how fetches and SDML works (documented in page 398 or 399 of AgentryLanguageReference_6.0.0.0.pdf).
    See pictures just in case you don't have access to that pdf file (The picture below simply proves what SDML options is available for your Fetch Client Exchange Step).
    Hope this helps.
    Regards,
    Mark Pe
    SAP Senior Product Support Engineer

  • Not saved the changes to the information for the movie.

    Hi guys!
    Suddenly faced with a problem: the changes are not saved in the statement made by me about the movie. I make the changes themselves, close the properties, open again and see that all the changes I've made have disappeared.
    This occurs only on MAC OS X Mavericks.
    If close iTunes on this computer, and open at the other with MAC OS X Mountaine Lion and try to edit the infornation movie - after closing and re-opening information about the movie is saved. Tried different movies, the result of similar: on iTunes MAC OS X Mavericks are not stored on MAC OS X Mountaine Lion - everything is fine.
    Show you how to cure this problem?
    My iTunes library is on a network hard drive WD My Book Live.
    Add movies / music etc. turns on both machines. When trying to make changes in information about the movies to the library is connected to only one computer.
    All available updates for both computers are set.
    I reinstalled iTunes, ran a disk check on the computer.
    Films are not purchased in the AppStore, but me personally encoded in a format m4v.
    Folders and files in your iTunes library have the following rights:
    Daapd - read / write
    staff - read / write
    everyone - read / write
    Pls, need help. Thk Y!

    No one is faced with similar? I am glad that I only have these problems

  • Error saving user changes with amclientsdk 6.3

    We have an application that was originally developed for the JES2 stack that handles creation and maintenance of users for our portal environment. We are running Access Manager 7.1 in Legacy Mode and per suggestions from people on this forum we are using the AMClientSDK 6.3 code.
    The main change that we had to make to the code to get it running was to replace the createSSOToken(userID, password) method of getting our connections with the AuthContext methodology. This has been completed without any problems. However, we are now having the following problem when trying to create users.
    As a bit of background, the application first creates the user entry with just the userID and name information that is required by the directory. Once that is complete it goes back in and does an update on that user with the rest of their registration information.
    public boolean save() throws EGatewayException {
    try {
    logger.debug("User entry has changed is: " + dirty);
    if (dirty) {
         logger.debug("We need to store the updates for the user...preparing to call store()...");
                             _amUser.store();
                             logger.debug("Back from storing user changes...set dirty flag to false.");
                             dirty = false;
                             if (logger.isDebugEnabled()) {
                                  logger.debug("User " + _amUser.getDN() + " saved.");
                             return true;
                        } else {
                             logger.debug("Dirty flag is " + dirty + "but we'll store anyways...");
                             _amUser.store();
                             // Not sufficient time to test removing this line!
                             logger.debug("No values actually changed. Saving anyway.");
                             return false;
                   } catch (Exception e) {
                        if (e instanceof AMException) {
                             String code = ((AMException) e).getErrorCode();
                             logger.debug("AMException error code is: " + ((AMException) e).getErrorCode());
                             if (code.equals("452")) {
                                  logger.debug("Error 452. Must be a password problem");
                                  throw new EGatewayPasswordException(
                                       logger,
                                       "Error 452. Must be a password problem",
                                       e);
                        throw new EGatewayException(
                             logger,
                             "Error saving user " + getDn(),
                             e);
    When the update occurs we see the following error in the logs.
    [6/28/07 12:13:13:001 EDT] 00000041 SystemOut O 2007-06-28 12:13:13,001 com.bcbsm.common.egateway.DirectoryConnection AMException error code is: 1000
    [6/28/07 12:13:13:041 EDT] 00000041 SystemOut O 2007-06-28 12:13:13,032 com.bcbsm.common.egateway.DirectoryConnection Error saving user uid=joanof2,ou=People,o=Members,dc=bcbsm,dc=com: New Generic Exception
    com.iplanet.am.sdk.AMException: New Generic Exception
    at com.iplanet.am.sdk.remote.DirectoryManager.setAttributes(DirectoryManager.java:1063)
    at com.iplanet.am.sdk.AMDirectoryManager.setAttributes(AMDirectoryManager.java:601)
    at com.iplanet.am.sdk.AMCacheManager.setAttributes(AMCacheManager.java:868)
    at com.iplanet.am.sdk.AMObjectImpl.store(AMObjectImpl.java:1737)
    at com.iplanet.am.sdk.AMObjectImpl.store(AMObjectImpl.java:1677)
    at com.bcbsm.common.egateway.DirectoryConnection$User.save(DirectoryConnection.java:1481)
    at com.bcbsm.egateway.data.MemberConnection.updateMember(MemberConnection.java:267)
    at com.bcbsm.egateway.data.MemberConnection.createMember(MemberConnection.java:99)
    at com.bcbsm.egateway.data.ActualDirectory.createMember(ActualDirectory.java:108)
    at com.bcbsm.egateway.struts.AccountCreationAction.createAccount(AccountCreationAction.java:168)
    at com.bcbsm.egateway.struts.AccountCreationAction.doExecute(AccountCreationAction.java:85)
    at com.bcbsm.egateway.struts.BaseAction.execute(BaseAction.java:112)
    Any insight or assistance is appreciated.
    Thank you.

    Is the agent app user id in the AMConfig.properties amadmin or a user who belongs to the top level admin role?

  • Why is my account not letting me change my credit card number?

    Ive changed my account informaion twice now and gfor some reason I cannot get into to the app store. I just want to know why it's still not letting me app store?

    We are fellow users here on these forums, if yu would like help then you will need to provide more info e.g. what do you mean by 'cannot get into to the app store', what happens when you try to change your credit card details, are you getting any error messages ?

  • Illustrator CS6 is not saving user-created workspaces

    I have created a workspace to save for all of our users to utilize, but it is not saving. When I re-start Illustrator the created workspace is selected but is not coming up as it was saved. Is this a glitch, or am I missing something?

    Wayne,
    You have used Type>Create Outlines, with no live Type left behind (after saving the original artwork, of course), no?
    What if you Save As PDF, thus embedding the font(s), and they take it from there?

  • IPhoto not saving editing changes:

    I am attempting to edit changes in my IPHOTO library and notice that it's not saving everything that I want. It is making some changes i.e. brightness/contract, however sharpness and other editing options are NOT being saved. Very odd, I am wondering if IPHOTO 6 has fixed this problem? It appears others are having this problems with issue as well and no there does not appear to be any concrete answers. Any help would be appreciated! Thank you!

    Hello, Phez,
    It may be that iPhoto's preference file has been damaged. Delete it and see if that corrects the problem. iPhoto will create a new one when it determines that the old one is gone.
    Go to YourUserName->Library->Preferences->com.apple.iPhoto.plist and delete that plist.
    Also, you should always repair permissions before and after any installations/upgrades. Applications->Utilities->Disk Utility. Select your hard drive's icon by its name, then be sure you are in 'First Aid' and choose 'Repair Disk Permissions."

  • Adobe form not saving user-input data into saved pdf file

    Hi forumers,
    I'm a new abap developer and I'm tasked to create an interactive adobe form that will require the user to input data in the form.
    No data is passed and received from PDF, but PDF has to be u2018Fillableu2019. I am able to fill out the form but when I actually save the form, it will be saved as a blank form again. I've seen the relevance of the  LS_DOCPARAMS-FILLABLE = 'X' on this forum and I have incorporated it in my code. But how should I code the abap program to enable to save the user input as well into the form.
    DATA: GV_FMNAME TYPE FPNAME,
          LS_DOCPARAMS    TYPE SFPDOCPARAMS,
          LS_OUTPUTPARAMS TYPE SFPOUTPUTPARAMS.
    CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
      EXPORTING
        I_NAME                     = 'ZSC_ZRUFORREP'
    IMPORTING
       E_FUNCNAME                  = GV_FMNAME
    *   E_INTERFACE_TYPE           =
    *   EV_FUNCNAME_INBOUND        =
    CALL FUNCTION 'FP_JOB_OPEN'
      CHANGING
        IE_OUTPUTPARAMS       = LS_OUTPUTPARAMS
    EXCEPTIONS
       CANCEL                = 1
       USAGE_ERROR           = 2
       SYSTEM_ERROR          = 3
       INTERNAL_ERROR        = 4
       OTHERS                = 5
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    LS_DOCPARAMS-FILLABLE = 'X'.
    LS_DOCPARAMS-DYNAMIC = 'X'.
    CALL FUNCTION GV_FMNAME
    EXPORTING
       /1BCDWB/DOCPARAMS        = LS_DOCPARAMS
    * IMPORTING
    *   /1BCDWB/FORMOUTPUT       =
    EXCEPTIONS
       USAGE_ERROR              = 1
       SYSTEM_ERROR             = 2
       INTERNAL_ERROR           = 3
       OTHERS                   = 4
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'FP_JOB_CLOSE'
    * IMPORTING
    *   E_RESULT             =
    EXCEPTIONS
       USAGE_ERROR          = 1
       SYSTEM_ERROR         = 2
       INTERNAL_ERROR       = 3
       OTHERS               = 4
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Thanks,
    dgrachee

    Not quite yet, I have to say...
    If you check the domain "FPINTERACTIVE", you'll see these values:
                   Print Form
    X     Interactive Form with Additional Usage Rights
    N     Interactive Form Without Additional Usage Rights
    F                                                                
    So, you are not providing "additional usage rights" (Adobe Form Credentials), meaning there could be a problem when you want to use those forms in a Production environment.

  • Saving users changes

    I work at a special needs college and have made a simple way for students to keep track of their objectives. It has buttons which can be clicked when you have done an objective for that day. I was wondering if it is possible for it to be saved onto a users web profile so they can continue clicking the more times they complete that objective. So by the end of a term you can see how well you have completed objectives and what you need to do more work on. Thank you

    You might want to explain exactly what you want. Do you want the user to interact with any of the fields, or just the one? If not, just set the field(s) to read-only. Also, there is a security setting (Changes Allowed - Filling of form fields) that when set will prevent the user from filling a form. Designer doesn't offer anything more.

  • DWMX not saving file changes

    This is weird.
    I am changing the onMouseOver to all lower case so it
    vaildates with a xhtml
    doctype.
    So I make the change, save the file, even close DW.
    But when I open it up again, the onmouseover is now back to
    onMouseOver.
    I was able to change all other instances of onMouseOver via a
    sitewide ctrl
    find and replace and it even shows as if it's replaced this
    one file's
    instances, but every time I open this file, it's back to the
    mixed case
    rather than lower case.
    It's a similar situation with another file that just will not
    accept
    onsubmit and keeps reverting back to onSubmit. It's a
    conspiracy! :)
    Anyone have any suggestions?
    Cheers,
    Lossed
    __when the only tool you have is a hammer, everything looks
    like a nail __

    Glad you solved it. Get that nut fixed, will you? 8)
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Lossed" <[email protected]> wrote in message
    news:[email protected]...
    > Thanks for getting back to me Murray,
    >
    > It was the nut behind the wheel that was faulty.
    >
    > In the code format preferences, I have the default case
    for tags and
    > attributes set to lowercase, and I have it set to
    override the case of
    > tags and attributes.
    > This I assumed would set all tags and attributes to
    lowercase irrespective
    > of what the tag library settings were. I mean, that is
    what I consider
    > 'override' to mean - it overrides the users typeing or
    more specific tag
    > library settings.
    >
    > But it doesn't privide that kind of global setting, it
    seems.
    >
    > After individually setting the attributes of each of the
    tags in the tag
    > library, it does keep the code lowercase as I had
    originally intended.
    >
    > thank goodness for that. I can ill-afford to lose
    anymore hair :)
    >
    >
    >
    >
    >
    >
    >
    > "Murray *ACE*" <[email protected]>
    wrote in message
    > news:[email protected]...
    >> What do your preferences specify about rewriting
    code?
    >>
    >> --
    >> Murray --- ICQ 71997575
    >> Adobe Community Expert
    >> (If you *MUST* email me, don't LAUGH when you do
    so!)
    >> ==================
    >>
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >>
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >>
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >>
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    >> ==================
    >>
    >>
    >> "Lossed" <[email protected]> wrote in
    message
    >> news:[email protected]...
    >>>
    >>> This is weird.
    >>> I am changing the onMouseOver to all lower case
    so it vaildates with a
    >>> xhtml doctype.
    >>> So I make the change, save the file, even close
    DW.
    >>> But when I open it up again, the onmouseover is
    now back to onMouseOver.
    >>>
    >>> I was able to change all other instances of
    onMouseOver via a sitewide
    >>> ctrl find and replace and it even shows as if
    it's replaced this one
    >>> file's instances, but every time I open this
    file, it's back to the
    >>> mixed
    >>> case rather than lower case.
    >>>
    >>> It's a similar situation with another file that
    just will not accept
    >>> onsubmit and keeps reverting back to onSubmit.
    It's a conspiracy! :)
    >>>
    >>> Anyone have any suggestions?
    >>>
    >>> --
    >>> Cheers,
    >>> Lossed
    >>> __when the only tool you have is a hammer,
    everything looks like a nail
    >>> __
    >>>
    >>
    >>
    >
    >
    >

  • Re: MySQL Database - NOT SAVING USER WEB-FORM DATA, ANY SUGGESTIONS...

    Hi, after adding the missing <html> tag, still doesn't make any difference, see below the php code and html form in context, the one you've asked me to paste.
    Note: I am trying to incorporate this, into an existing webpage, "the html form has to work with the existing html tags without duplicating" it's an existing webpage currently online.
    *Corrected the typing error Murray mentioned previously, about mysqli
    THE PHP CODE...
    <?php
    class MySessionHandler implements SessionHandlerInterface
    private $savePath;
    public function open($savePath, $sessionName)
      $this->savePath = $savePath;
      if (!is_dir($this->savePath)) {
       mkdir($this->savePath, 0777);
      return true;
    public function close()
      return true;
    public function read($id)
      return (string)@file_get_contents("$this->savePath/sess_$id");
    public function write($id, $data)
      return file_put_contents("$this->savePath/sess_$id", $data) === false ? false : true;
    public function destroy($id)
      $file = "$this->savePath/sess_$id";
      if (file_exists($file)) {
       unlink($file);
      return true;
    public function gc($maxlifetime)
      foreach (glob("$this->savePath/sess_*") as $file) {
       if (filemtime($file) + $maxlifetime < time() && file_exists($file)) {
        unlink($file);
      return true;
    $handler = new MySessionHandler();
    session_set_save_handler($handler, true);
    session_start();
    ?>
    <?php
    class session {
    var $lifeTime;
    var $dbHandle;
    function open($savePath, $sessName) {
      $this->lifeTime = get_cfg_var("session.gc_maxlifetime");
      $dbHandle = @mysql_connect("server", "user","password");
      $dbSel = @mysql_select_db("database",$dbHandle);
      if(!$dbHandle || !$dbSel)
       return false;
      $this->dbHandle = $dbHandle;
      return true;
    function close() {
      $this->gc(ini_get("session.gc_maxlifetime"));
      return @mysql_close($this->dbHandle);
    function read($sessID) {
      $res = mysql_query("SELECT session_data AS d FROM ws_sessions
         WHERE session_id = '$sessID'
         AND session_expires > " .time(), $this->dbHandle);
      if($row = mysql_fetch_assoc($res))
         return $row['d'];
      return "";
    function write($sessID, $sessData) {
      $newExp = time() + $this->lifeTime;
      $res = mysql_query("SELECT * FROM ws_sessions
         WHERE session_id = '$sessID'", $this->dbHandle);
      if(mysql_num_rows($res)) {
       mysql_query("UPDATE ws_sessions
          SET session_expires = '$newExp',
          session_data = '$sessData'
          WHERE session_id = '$sessID'", $this->dbHandle);
       if(mysql_affected_rows($this->dbHandle))
          return true;
      else {
       mysql_query("INSERT INTO ws_sessions (
          session_id,
          session_expires,
          session_data)
          VALUES(
          '$sessID'
          '$newExp'
          '$sessData')", $this->dbHandle);
       if(mysql_affected_rows($this->dbHandle))
          return true;
      return false;
    function destroy($sessID) {
      mysql_query("DELETE FROM ws_sessions WHERE session_id = '$sessID'", $this->dbHandle);
      if(mysql_affected_rows($this->dbHandle))
         return true;
      return false;
    function gc($sessMaxLifeTime) {
      mysql_query("DELETE FRKOM ws_sessions WHERE session_expires < " .time(), $this->dbHandle);
      return mysql_affected_rows($this->dbHandle);
    $session = new session();
    session_set_save_handler(array(&$session,"open"),
        array(&$session,"close"),
    array(&$session,"read"),
    array(&$session,"write"),
    array(&$session,"destroy"),
    array(&$session,"gc"));
    session_start();
    ?>
    <?php
    $conn = new mysqli("1and1.com", "dbo501129768", "simpsys", "db501129768");
    if ($mysqli->connect_error) {
    die('Connect Error (' . $mysqli->connect_errno . ') '  //CHECK CONNECTION.
       . $mysqli->connect_error);
    if (array_key_exists('submit', $_POST)){
    $userName = $_POST['username'];
    $firstName = $_POST['firstname'];
    $lastNmae = $_POST['lastname'];
    $password = $_POST['password'];
    $confirmPassword = $_POST['confirmPassword'];
    $conn->query("INSERT INTO ws_sessions (`user_name`, `first_name`, `last_name`, `email`, `password`, `confirm_password`) VALUES('$userName', '$firstName', '$lastName', '$email', '$password', '$confirmPassword')");
    ?>
    THE HTML FORM...   EDITED
    <!DOCTYPE html>
    <html>
    <head>
    <title>Admin</title>
    </head>
    <body>
    <form name='registration' method='post' action='insert_2.php' enctype="application/x-www-form-urlencoded">
        <p>Username: *</p>
        <p>
        <label for='username'></label>
        <input type='text' name='username' maxlength='40' size='60' tabindex='1'/>
        </p>
    <p>Firstname: *</p>
    <p>
    <label for='firstname'></label>
    <input type='text' name='firstname' maxlength='40' size='60' tabindex='2'/>   
    <p>Lastname: *</p>
    <p>
    <label for='lastname'></label>
    <input type='text' name='lastname' maxlength='40' size='60' tabindex='3'/>
        <p>Email: *</p>
        <p>
        <label for='email'></label>
        <input type='text' name='email' maxlength='40' size='60' tabindex='4'/>
        </p>
        <p>Password: *</p>
        <p>
        <label for='password'></label>
        <input type='password' name='password' id='password' maxlength='40' size='60' tabindex='5'/>
        </p>
        <p>Confirm password: *</p>
        <p>
        <label for='confirm password'></label>
        <input type='password' name='confirmPassword' id='confirmPassword' maxlength='40' size='60' tabindex='6'/>
        </p>
        <p>
        <input type='submit' value='Register'/>
        </p>
        <p> </p>
    </form>
    </body>
    </html> End of Form
    </div> "This tag and the ones below already exist inside the webpage"
    </div>
    </body>
    </html>
    I hope this helps - I appreciate your help.
    smartCode

    smartCode wrote:
    Hi, after adding the missing <html> tag, still doesn't make any difference, see below the php code and html form in context, the one you've asked me to paste.
    Note: I am trying to incorporate this, into an existing webpage, "the html form has to work with the existing html tags without duplicating" it's an existing webpage currently online.
    *Corrected the typing error Murray mentioned previously, about mysqli
    THE PHP CODE...
    <?php
    class MySessionHandler implements SessionHandlerInterface
    private $savePath;
    public function open($savePath, $sessionName)
      $this->savePath = $savePath;
      if (!is_dir($this->savePath)) {
       mkdir($this->savePath, 0777);
      return true;
    public function close()
      return true;
    public function read($id)
      return (string)@file_get_contents("$this->savePath/sess_$id");
    public function write($id, $data)
      return file_put_contents("$this->savePath/sess_$id", $data) === false ? false : true;
    public function destroy($id)
      $file = "$this->savePath/sess_$id";
      if (file_exists($file)) {
       unlink($file);
      return true;
    public function gc($maxlifetime)
      foreach (glob("$this->savePath/sess_*") as $file) {
       if (filemtime($file) + $maxlifetime < time() && file_exists($file)) {
        unlink($file);
      return true;
    $handler = new MySessionHandler();
    session_set_save_handler($handler, true);
    session_start();
    ?>
    <?php
    class session {
    var $lifeTime;
    var $dbHandle;
    function open($savePath, $sessName) {
      $this->lifeTime = get_cfg_var("session.gc_maxlifetime");
      $dbHandle = @mysql_connect("server", "user","password");
      $dbSel = @mysql_select_db("database",$dbHandle);
      if(!$dbHandle || !$dbSel)
       return false;
      $this->dbHandle = $dbHandle;
      return true;
    function close() {
      $this->gc(ini_get("session.gc_maxlifetime"));
      return @mysql_close($this->dbHandle);
    function read($sessID) {
      $res = mysql_query("SELECT session_data AS d FROM ws_sessions
         WHERE session_id = '$sessID'
         AND session_expires > " .time(), $this->dbHandle);
      if($row = mysql_fetch_assoc($res))
         return $row['d'];
      return "";
    function write($sessID, $sessData) {
      $newExp = time() + $this->lifeTime;
      $res = mysql_query("SELECT * FROM ws_sessions
         WHERE session_id = '$sessID'", $this->dbHandle);
      if(mysql_num_rows($res)) {
       mysql_query("UPDATE ws_sessions
          SET session_expires = '$newExp',
          session_data = '$sessData'
          WHERE session_id = '$sessID'", $this->dbHandle);
       if(mysql_affected_rows($this->dbHandle))
          return true;
      else {
       mysql_query("INSERT INTO ws_sessions (
          session_id,
          session_expires,
          session_data)
          VALUES(
          '$sessID'
          '$newExp'
          '$sessData')", $this->dbHandle);
       if(mysql_affected_rows($this->dbHandle))
          return true;
      return false;
    function destroy($sessID) {
      mysql_query("DELETE FROM ws_sessions WHERE session_id = '$sessID'", $this->dbHandle);
      if(mysql_affected_rows($this->dbHandle))
         return true;
      return false;
    function gc($sessMaxLifeTime) {
      mysql_query("DELETE FRKOM ws_sessions WHERE session_expires < " .time(), $this->dbHandle);
      return mysql_affected_rows($this->dbHandle);
    $session = new session();
    session_set_save_handler(array(&$session,"open"),
        array(&$session,"close"),
    array(&$session,"read"),
    array(&$session,"write"),
    array(&$session,"destroy"),
    array(&$session,"gc"));
    session_start();
    ?>
    <?php
    $conn = new mysqli("1and1.com", "dbo501129768", "simpsys", "db501129768");
    if ($mysqli->connect_error) {
    die('Connect Error (' . $mysqli->connect_errno . ') '  //CHECK CONNECTION.
       . $mysqli->connect_error);
    if (array_key_exists('submit', $_POST)){
    $userName = $_POST['username'];
    $firstName = $_POST['firstname'];
    $lastNmae = $_POST['lastname'];
    $password = $_POST['password'];
    $confirmPassword = $_POST['confirmPassword'];
    $conn->query("INSERT INTO ws_sessions (`user_name`, `first_name`, `last_name`, `email`, `password`, `confirm_password`) VALUES('$userName', '$firstName', '$lastName', '$email', '$password', '$confirmPassword')");
    ?>
    THE HTML FORM...   EDITED
    <!DOCTYPE html>
    <html>
    <head>
    <title>Admin</title>
    </head>
    <body>
    <form name='registration' method='post' action='insert_2.php' enctype="application/x-www-form-urlencoded">
        <p>Username: *</p>
        <p>
        <label for='username'></label>
        <input type='text' name='username' maxlength='40' size='60' tabindex='1'/>
        </p>
    <p>Firstname: *</p>
    <p>
    <label for='firstname'></label>
    <input type='text' name='firstname' maxlength='40' size='60' tabindex='2'/>   
    <p>Lastname: *</p>
    <p>
    <label for='lastname'></label>
    <input type='text' name='lastname' maxlength='40' size='60' tabindex='3'/>
        <p>Email: *</p>
        <p>
        <label for='email'></label>
        <input type='text' name='email' maxlength='40' size='60' tabindex='4'/>
        </p>
        <p>Password: *</p>
        <p>
        <label for='password'></label>
        <input type='password' name='password' id='password' maxlength='40' size='60' tabindex='5'/>
        </p>
        <p>Confirm password: *</p>
        <p>
        <label for='confirm password'></label>
        <input type='password' name='confirmPassword' id='confirmPassword' maxlength='40' size='60' tabindex='6'/>
        </p>
        <p>
        <input type='submit' value='Register'/>
        </p>
        <p> </p>
    </form>
    </body>
    </html> End of Form
    </div> "This tag and the ones below already exist inside the webpage"
    </div>
    </body>
    </html>
    I hope this helps - I appreciate your help.
    smartCode
    I'm trying to establish if the code I supplied is working or not, i.e. if something is being inserted into your database or not. Including all the other php classes/functions does not help at this time as there is probably some conflict going on -  you CAN'T mix mysqli and mysql
    What happens if you just use the code below. Yes, it's a basic form and mysqli connection BUT it should insert something in your ws_sessions table.
    Then you can start adding in the other php  functions one by one and see where it breaks down.
    <?php
    $conn = new mysqli("1and1.com", "dbo501129768", "simpsys", "db501129768");
    if (array_key_exists('submit', $_POST)){
    $userName = $_POST['username'];
    $firstName = $_POST['firstname'];
    $lastNmae = $_POST['lastname'];
    $password = $_POST['password'];
    $confirmPassword = $_POST['confirmPassword'];
    $conn->query("INSERT INTO ws_sessions (`user_name`, `first_name`, `last_name`, `email`, `password`, `confirm_password`) VALUES('$userName', '$firstName', '$lastName', '$email', '$password', '$confirmPassword')");
    ?>
    <!DOCTYPE html>
    <html>
    <head>
    <title>Admin</title>
    </head>
    <body>
    <form name='registration' method='post' action='insert_2.php' enctype="application/x-www-form-urlencoded">
        <p>Username: *</p>
        <p>
        <label for='username'></label>
        <input type='text' name='username' maxlength='40' size='60' tabindex='1'/>
        </p>
    <p>Firstname: *</p>
    <p>
    <label for='firstname'></label>
    <input type='text' name='firstname' maxlength='40' size='60' tabindex='2'/>   
    <p>Lastname: *</p>
    <p>
    <label for='lastname'></label>
    <input type='text' name='lastname' maxlength='40' size='60' tabindex='3'/>
        <p>Email: *</p>
        <p>
        <label for='email'></label>
        <input type='text' name='email' maxlength='40' size='60' tabindex='4'/>
        </p>
        <p>Password: *</p>
        <p>
        <label for='password'></label>
        <input type='password' name='password' id='password' maxlength='40' size='60' tabindex='5'/>
        </p>
        <p>Confirm password: *</p>
        <p>
        <label for='confirm password'></label>
        <input type='password' name='confirmPassword' id='confirmPassword' maxlength='40' size='60' tabindex='6'/>
        </p>
        <p>
        <input type='submit' value='Register'/>
        </p>
        <p> </p>
    </form>
    </body>
    </html>

  • Itunes not saving user agreement

    Hi if any one can help me on this sbject i would really really appreciate it!! basically since i've had my 3rd generation ipod nano this problem has occured, everytime i open itunes and click on the ipod icon the user agreement that when firt opening itunes comes up and asks me to agree and then save it and i have done this many times but it still stays there and so i can't see what songs are on my ipod or make any changes until i get rid of it, thanks 4 any answers u can give me.

    Are you seeing a Continue button anywhere? Click the little Agree box then the Continue button, there's no need to save the agreement. If you aren't seeing all the buttons try increasing your screen resolution to at least 1024x768 so you can see the whole page: iTunes window does not display all options

  • I photo8.1 not saving any changes I make to albums/events

    Since Thursday, any changes I have made in iphoto have not been saved. I've deleted lots of photos from an event (a recent holiday) and made a new album so I can share/export the photos easily.
    if i close iphoto and go back to it I find none of the changes have been made. The deleted photos are still in the event, and the album is empty. Any ideas on what I can do.
    Never had a problem before, I have just over 10000 photos in iphoto

    Sounds like your database is damaged.
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.
    Regards
    TD

  • OS X notes saving every change as a new note

    Each time I make a change to a note, OS X saves the change as a new note. Delete a line? New note. Add some words? New note. It even adds notes while I'm typing and even when I'm doing nothing. I've attached a sample, looking at the oldest versions (bottom) you can even see how it saved in between typing example and note.
    What's going on and how do I stop the madness?
    OS X Mavericks 10.9.2, Build 13C64.

    Wow, that's really weird.  I would guess a home permission problem where you can't wite to the iMessage folder.  I guess while I waited on more specific advice, I would a home permission & ACL reset.  I just explained this in another response or your can google it on your own.  It's not hard, may not fix this but won't hurt and I've seen several cases first hand where ACLs get messed up during a Mavericks upgrade.

Maybe you are looking for

  • JavaScript in the PDF can hide toolbar buttons

    Hi Leonard, You mentioned in http://forums.adobe.com/message/2161074#2161074 that "JavaScript in the PDF can hide toolbar buttons." According to the Javascript docs for Acrobat 7 the App.HideToolbarButton function only runs at AppInit.  Which means t

  • Request to techs: Please Darken the colour of the grey text.

    Your drab new theme has also appears to have washed out the colour of the text. Please darken it more. Black would be good. roam

  • Forms Server configuring problem

    Hi, I've installed Oracle Forms Server 6i on Windows platform and installed Apache 2.2. The virtuals folders are configured correctly in Apache and file permission settings are all done correctly. All the environment variables appears to be okay in r

  • CC installation fails; breaks CS6 installation

    Just purchased 5 CC seats for my company. Successfully deployed 4 licenses: 1 to myself and 3 to my staff. Successfully installed desktop app. However, I can't install other apps. On my primary computer, I was able to install Acrobat XI, but Photosho

  • Help deleting Office Test Drive

    Good afternoon. I have never used Office Test Drive on my mini. My daughter, who's in college, purchased Office:Mac and I want to install it on her iBook, as well as the mini, as she often does work on that also. I can't seem to delete the version th