Storing the referrer in session... problems with tabs


Posted on 16th Feb 2014 07:03 pm by admin

Hello All

I am currently working on an ERP project based on the MVC methodology, when a user navigates the site we store the referrer in session.

The problem we have is that using multiple tabs upsets our session stack of referrers, it would be good to store this stack as an associative array so we have a stack for each tab, as at the moment if you open a new tab, the original tab redirects to the wrong place.

The problem I have is that I need a unique identifier for that array, now it would be too easy to think that a tab_id would exist, but it doesn't appear so.



So does anybody know if it's possible to get the tab index, even if it's exclusively using FireFox (we will provide a fall-back for IE etc *pukes*)

No comments posted yet

Your Answer:

Login to answer
336 Like 44 Dislike
Previous forums Next forums
Other forums

form help
this doesn't work. i want the form action to go the location.href of the submit button chosen.. how

PHP submit form script causing blank page
Im trying to submit a form using this script, however nothing shows up on the page, does anyone know

Cache PHP Objects/Classes?
Does anyone have ideas about caching PHP objects using something like: http://memcached.org/

weird problem
last time, i did post a topic concerning why my page sometime will load as blank page when using IE.

Why use interfaces in PHP (OOP)
I am learning OOP in PHP and its been a pretty good learning experience so far. What I didn't unders

php form help
Hey,

I use a control file to set my meta tags and titles

Here's an example
Code: &a

problems with script
I made a small script wich exchanges points in my website:


<?php
session_start

What's wrong with my code
sobbing for many days, still don't know why please Help. Why my page isn't posted correctly. In a

problem with array - multilingual page
this is my test page :
Code: <?php
if(isset($_GET['lang'])) {
if($_GET['la

Logging and nologging bulk insert
Hi,

oracle version: 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash