Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7637715
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T08:00:37+00:00 2026-05-31T08:00:37+00:00

i am using google maps with xml data, the way google maps works is

  • 0

i am using google maps with xml data,
the way google maps works is that it calls my server to get the xml(i have to pass it an url, i can’t pass the xml to google),

since all my pages are user/password protected,
i need to implement some sort of authentication for google maps, so i was thinking of passing it the current user session id(encrypted in some way) so that when google calls my script, i can check that a session with that id exists, thus google is calling me on behalf of that user

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T08:00:37+00:00Added an answer on May 31, 2026 at 8:00 am

    I ended up using my own table to save the session and then execute queries on it

    in bootstrap.php

    protected function _initSession()
        {
    
             $this->bootstrap('cache')
            $config = array(
                'name'              => 'session', //table name as per Zend_Db_Table
                'primary'           => array(
                    'session_id',   //the sessionID given by PHP
                    'save_path',    //session.save_path
                    'name',         //session name
                    //'cols' => array('session_id', 'save_path', 'name', 'modified', 'lifetime', 'session_data')
                ),
                'primaryAssignment' => array(
                    //you must tell the save handler which columns you
                    //are using as the primary key. ORDER IS IMPORTANT
                    'sessionId', //first column of the primary key is of the sessionID
                    'sessionSavePath', //second column of the primary key is the save path
                    'sessionName', //third column of the primary key is the session name
                ),
                'modifiedColumn'    => 'modified',     //time the session should expire
                'dataColumn'        => 'session_data', //serialized data
                'lifetimeColumn'    => 'lifetime',     //end of life for a specific record
                'user_id' => 'user_id'
            );
            //Tell Zend_Session to use your Save Handler
            $savehandler = new Zend_Session_SaveHandler_DbTable($config);
    
    
            //http://framework.zend.com/wiki/display/ZFPROP/Zend_Session_SaveHandler_DbTable
            //cookie persist for 30 min
            $config = Zend_Registry::get('config');
    
    
            $seconds = $config->session->seconds_life;
            //Zend_Session::rememberMe($seconds = ($config->session->seconds_life));
            //make the session persist for 30 min
            $savehandler->setLifetime($seconds)
                ->setOverrideLifetime(true);
    
            Zend_Session::setSaveHandler($savehandler);
    
            Zend_Session::start();
        }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using the Google Maps API, how can I get the latitude and longitude of
I have an application using the Google maps - until the moment it works
I'm using Google Maps v3 and I build in the server side a json
It seems that licensing terms would prevent us from using Google Maps API in
I have found a code to show Google maps with multiple markers using JQuery
I have a requirement to geocode data using Google's geocoding service. Google's geocoding services
I'm using http://maps.google.com/maps/geo ? web service to geocode some addresses. The problem I have
Currently I have a page displaying 3 Google Maps that are generated by JavaScript,
I am developing an android application using google maps. I have to display some
I have an XML element that has a url as one of it's children,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.