[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 193
  • Last Modified:

problem with sessions(not sure)

Hello,
lets say i have http://www.something.com/something/bla.php.
It is set set_time_limit(0); and this script works average 2-3 minutes.
I can start that script from firefox and it will go OK until I want to start another copy of that script in the same firefox window, but in the different tab. When I try to do it, the second one is waiting until the first one will end, and only then the second one will start. Also I am unable to start a copy of my script from a new firefox window until the first one ends. I can run several different copies of it from different browsers (firefox and IE). But if I need to start, let's say, 100 copies of my script I would need 100 different browsers :) . So I would like to know whether it is possible for me to run many copies of my script from one browser at the same time?
0
djtomekshzh
Asked:
djtomekshzh
1 Solution
 
Michael701Commented:
First question is does your application need cookies or any references to the session variables?

If not:

Turn off cookies and see if this forces the session id to appear in the url. (There might be another setting to cause this to happen) This should cause each tab to get a new session id assigned.

Here's a link where thay talk about it on (dot)net, the same idea should apply to php
http://dotnet.org.za/calmyourself/archive/2007/03/09/unique-session-id-between-tabs.aspx

0
 
djtomekshzhAuthor Commented:
danke shon
0

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now