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

radio button reamains checked
Hello i'm trying to keep the state off my radio buttons so it shows which ones where clicked after t

Find occurences of unicode characters in string
I need to prohibit filenames with everything but English characters and numbers but regexp and strin

word wrap in emails help needed
Hello, I understand how wordwrap works in php and have used it well before. However when I used wor

Dynamic memory problem
Hey,

At the beginning of my code, I have this line:

Shape* gShape = 0;

I need desperate help with this php code integrated with flash please
Can someone please help me with this php code which I have been stuck on for weeks . I am trying to

post to self
Trying to get my form to submit to itself. However I am also trying to use an image for my submit bu

Help? Need help on project with templates involving mysql and php.
I'm having a hard time explaining what I want but basically here is what I have in place:

-Da

Probably a simple error...
I'm getting the error -- Parse error: syntax error, unexpected '{' in /home/content/c/s/t/csteffen24

How to display random record from table?
I have the following code:

Code: <?php
$display_block .= "<input type=

User feedback after MySQL query has been executed
Hi all, I've just registered on PHPFreaks because I've got a question that I simply can't work out b

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