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

PHP SUBMIT
Code: <input name="doLogin" type="image" src="images/loginsubmit.jpg

Opening Multiple Files/Links in Order.
I want to open links in order/one-by-one and check each for a specific string.

Example:
I

php/mysql problem
Hey all,

Problem: im trying to setup a shop where people can use a drop-down list to select t

Will an XHTML DOCTYPE interfere with my PHP if I'm not experienced enough?
I've read this article here: http://friendlybit.com/html/why-xhtml-is-a-bad-idea/

In a nutshe

login page does not execute a else statement
I've created a login page using sessions.
When an incorrect user name or password is entered then

Ten Operator Syntax
Hi Guys,

I can't figure out why i am getting a parse error with this basic ten op code:

Reditecting pages based on logic
Newbie here, apologies in advance!

I am trying to use the header function to forward one of a

Trying to add functions to table
I have this list of characters and I'm trying to figure out what I have to do to put the results of

Place specific image in html page when specific name is typed.
Hello,

Fairly new to PHP and was curious if someone might know how to solve a fairly simple r

Easy administration on MySQL databases
My website is database driven and I am very tired of manually making queries to my tables in order t

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