473,586 Members | 2,683 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to Replicate Session in new window?, target _blank

I'm writing a pretty complex webapp, that ideally will have 2-3 popup
windows, but I am losing my session information when I open a new
window. Is there a way to retain or replicate Session information ?
I've used <atag with target="_blank" .
I don't know if using a Window name would have any effect at all.

other similar topics:
multiple session with window.open?
'fork' a session
HELP! resetting admin session

Aug 30 '06 #1
6 8595
"awebguynow " <i_****@hotmail .comwrote in message
news:11******** **************@ i3g2000cwc.goog legroups.com...
I'm writing a pretty complex webapp, that ideally will have 2-3 popup
windows, but I am losing my session information when I open a new
window.
That should not happen. Session has very little or nothing to do with the
window. It exits per domain, until it expires or the browser is closed. If
you create a new instance of the same browser window, it should not lose the
session.
Is there a way to retain or replicate Session information ?
I've used <atag with target="_blank" .
I don't know if using a Window name would have any effect at all.

other similar topics:
multiple session with window.open?
'fork' a session
HELP! resetting admin session
There isn't anything like that because there should be no need for such
functionality. I've always used new windows in my applications and never
experienced losing the session. There might something else wrong in your
approach. Make sure you are not linking to a different domain, like from
alpha.example.c om to beta.example.co m, because that will lose the session
data. Another thing you should confirm is that the page in the new window
doesn't destroy the session.

Very odd case I must say.

--
"Ohjelmoija on organismi joka muuttaa kofeiinia koodiksi" - lpk
http://outolempi.net/ahdistus/ - Satunnaisesti päivittyvä nettisarjis
sp**@outolempi. net || Gedoon-S @ IRCnet || rot13(xv***@bhg byrzcv.arg)
Aug 31 '06 #2
"awebguynow " <i_****@hotmail .comwrote in news:1156971350 .543090.268570
@i3g2000cwc.goo glegroups.com:
I'm writing a pretty complex webapp, that ideally will have 2-3 popup
windows,
How are popup windows ideal?
--
Karl Groves
www.karlcore.com
Aug 31 '06 #3
sorry if it sounds daft, are you adding session_start() at the
beginning of the poppuped file?

Nida Sharar

awebguynow wrote:
I'm writing a pretty complex webapp, that ideally will have 2-3 popup
windows, but I am losing my session information when I open a new
window. Is there a way to retain or replicate Session information ?
I've used <atag with target="_blank" .
I don't know if using a Window name would have any effect at all.

other similar topics:
multiple session with window.open?
'fork' a session
HELP! resetting admin session
Aug 31 '06 #4
Karl Groves <ka**@NOSPAMkar lcore.comwrites :
"awebguynow " <i_****@hotmail .comwrote in news:1156971350 .543090.268570
@i3g2000cwc.goo glegroups.com:
>I'm writing a pretty complex webapp, that ideally will have 2-3 popup
windows,

How are popup windows ideal?
They make normal people flee to text-based browsers where they'll
stop bothering bad web designers.

--
Andrew Poelstra <http://www.wpsoftware. net/projects>
To reach me by email, use `apoelstra' at the above domain.
"Do BOTH ends of the cable need to be plugged in?" -Anon.
Aug 31 '06 #5
OK, with the popup flames already. Please have something more
intelligent to say, if you'd like to post.
The webapp is an intranet in-house type of site, secured for a select
audience that has requested different report pages in different
windows.

I did notice in a simple test that using [ target="_blank" ]
does not cause SESSION to be lost.

My html output is the result of XSL transformation, but I don't think
that is the problem, as of yet. So my use of [ target="_blank" ] is
actually in the XSL file.
PHP (Psuedo-code)
session_start() ; // via include file [ same for all my php files,
actually ]
...
... $xp->transformToXML ( ... )

I'll be looking into it.
I also have heard of alternatives where SESSION is stored in a
database, etc.

Sep 1 '06 #6
"awebguynow " <i_****@hotmail .comwrote in news:1157122887 .142714.90640
@b28g2000cwb.go oglegroups.com:
OK, with the popup flames already. Please have something more
intelligent to say, if you'd like to post.
The webapp is an intranet in-house type of site, secured for a select
audience that has requested different report pages in different
windows.
Are there any qualified human factors in that list of people who've
"requested" these things open in new windows?

Just because someone requests it, that doesn't make it a good idea (unless,
of course, their name is on your paycheck)

--
Karl Groves
www.karlcore.com
Sep 1 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
4928
by: MotherBored | last post by:
Hello gurus! I am not a javascript person, so I hope there is a simple answer / solution to this problem I'm having. I'm xposting this to the HTML group, if perhaps this is an HTML issue. I have a java applet which allows interaction through javascript. For example, I can click a point on the applet and a new window will open containing...
2
2833
by: Matt | last post by:
In the following code, page1.asp is inside the frame of main.html. When the user click submit button in page1.asp, it will submit the form and open a new window called page2.asp. When the user clicks submit button on page2.asp, I expected to open a new window called page3.asp. Unfortunately, it just open page3.asp in the same window as...
9
39004
by: DonD | last post by:
The code: <a href="/art/visit/openhouse03/images/17.jpg" target="_blank" onclick="popCenter(this.href,'name','500','500','no'); return false;"> <img src="/art/visit/openhouse03/images/thumb17.jpg"></a> The problem: I always get two windows. I have the required "return false". I found a post (http://tinyurl.com/avjlh) that addresses my...
29
4988
by: wayne | last post by:
Hey there... I'm having some problems passing url parameters with an open.window command. I'm not terribly familiar with java script but here is the code below. When executed it opens the window properly but does not pass the parameter. (this is part of a coldfusion template) <a href="##"
5
2263
by: JNariss | last post by:
Hello, Within a form I created I have placed links that users can click on to view information. I am trying to write a javascript code so it opens in a sized window but I can't seem to figure this out. So far I have come up with the following: <script language="JavaScript" type="text/javascript"> var WindowObjectReference; // global...
2
2787
by: Shelly | last post by:
I have a form that updates and stays in the same window. That is the desired behavior. On this form I also have two buttons. I want those buttons to open up a new window with information taken from another field. I tried putting those two buttons in a form that has target="_blank", but it still came up in the same window. (That form is...
5
17182
by: GS | last post by:
Guys: I have a question, Is it possible to implement pop-up window without Java script, we don't want to use java script since it might get blocked by pop-up blocker. Thanks in advance. GS.
26
2972
by: Nospam | last post by:
I am trying to open a link in a new template window : <a onclick="windowopen('example.html','example');return false;" href="http://www.example.com" target="_blank"example link</a> such that clicking on the example link will open it in a new window in an already saved template/site/ called example.html
3
8253
by: lzo53 | last post by:
this is the code to a photogallery that displays thumbnails when clicked on a window opens my problem is i wish to customize the size of the window height 500 width 400 scrollbars no resize no and so on can this be done? below is the file items.xml the site is cjmusicproduction.com/gallery.html <?xml version="1.0" encoding="UTF-8"?> <data>...
0
7912
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7839
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8202
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7959
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6614
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5390
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3837
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3865
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1449
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.