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

mysql query with single quotes in a variable
$sitedetails = "INSERT INTO vars (address, sitename, description, ownername, theme) VALUES ('$u

socket communication between c++/java and sending image
hi,

i have a class in c++ called win32_sockserver which creates socket to java. i am trying

Printing a webpage
I use this to print the webpage: o

PHP friend keyword equivalent
is there a PHP equivalent for the C++ friend keyword?

need help to creat database
Hello Team, please guys i am stuck from three days with paypal issue for IPN but no luck yet now i w

Regular expression tips or resources
Hello! I'm having some issues implementing the appropriate regex patter to eliminate unwanted charac

Query issues
I probably have this setup wrong well I know I do because nothing is showing up now. What I want is

PHP loop
Okay so I have several "articles" stored in a mysql database and am attempting to echo tho

How to update this array?
I am saving a string that looks this: username1, username2, username3...
into a single cell in a

Amend code to allow multiple attachments
Hi

I have a php page that allows the user to browse to a file (image) then sumbit, the confi

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