473,666 Members | 2,144 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Help : passing variables through frames on an ASP site ?

I want to know the best way of passing on variable contents on a site
coded in ASP using frameset/frame. Content is used in all frames for
stuffs like screen_resoluti on, language, ...

My client's site is visited by Netscape 4.x/6.x and IE-5.x/6.x. It's
being converted to ASP and currently using frames (middle frame has a
vert scroll bar).

-I tried using Session("xxx") but in Netscape (4.x), it opens up a new
Session-ID for each frames. Therefore I cannot store variables in a
session when it's Netscape.

-I tried passing on variable contents using http://...?xxx=124&yyy=...
but I'm finding that I may have to have a long list of variables to
pass on this way.

-I was thinking about using SQL to store infos but then I cannot have
a unique record because of not having unique SessionID in all frames.

-Maybe there is a way of re-using the same session as the frameset for
each frames ?
Jul 19 '05 #1
4 1985
Cookies?

Ray at work

"A Web Master" <fo***********@ hotmail.com> wrote in message
news:d2******** *************** ***@posting.goo gle.com...
I want to know the best way of passing on variable contents on a site
coded in ASP using frameset/frame. Content is used in all frames for
stuffs like screen_resoluti on, language, ...

My client's site is visited by Netscape 4.x/6.x and IE-5.x/6.x. It's
being converted to ASP and currently using frames (middle frame has a
vert scroll bar).

-I tried using Session("xxx") but in Netscape (4.x), it opens up a new
Session-ID for each frames. Therefore I cannot store variables in a
session when it's Netscape.

-I tried passing on variable contents using http://...?xxx=124&yyy=...
but I'm finding that I may have to have a long list of variables to
pass on this way.

-I was thinking about using SQL to store infos but then I cannot have
a unique record because of not having unique SessionID in all frames.

-Maybe there is a way of re-using the same session as the frameset for
each frames ?

Jul 19 '05 #2
I have read many times that I should not rely on cookies for persistent
informations. Even if your application tells you that the client's
brwoser has cookies enabled, there is no garantee that they are in fact.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 19 '05 #3
This may be true, but everything is give and take. I've also heard that
frames should be avoided... How long of a querystring are you talking about
here? Isn't there a way that you can consolidate it if it's really that
long? Like, instead of ?screenresoluti on=1024x768, do ?s=c and use
something in your code so it knows c= 1024×768. Now, that isn't to say that
it's not possible that you'll run into a resolution that you don't foresee,
but it's certainly pretty unlikely to find anything beyond the known and
common possible resolutions. If you have a user on a 230" plasma TV running
15,360×11,520, I'd be surpised.

Another thing is that you could just use a common include in your two pages
that both execute the functions that return your data, and they should
return the same results. This isn't the most efficient thing to do of
course though.

Ray at work

"A. Webmaster" <ab***@google.c om> wrote in message
news:eO******** ******@TK2MSFTN GP11.phx.gbl...
I have read many times that I should not rely on cookies for persistent
informations. Even if your application tells you that the client's
brwoser has cookies enabled, there is no garantee that they are in fact.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Jul 19 '05 #4
Good idea about shortening the parms. I didn't thing about this.

Thx.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 19 '05 #5

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

Similar topics

1
2257
by: Dave Smithz | last post by:
Hi there, I have implemented a login sequence using session variables for a PHP/MySQL DB which I took over development. I read some books and this NG and it seemed straight forward. However the website I have taken over uses two frames. The left hand side is always a navigation frame with the righthand side of the screen always being the target. I developed a main web page where login takes place and if successful a session variable...
4
4655
by: A Web Master | last post by:
I am designing a site for a client where I have a frameset and 3 frames (all in ASP). I am creating session variables in the frameset that need to be accessed in the frames. It seams that in Netscape (4.75), the Frameset Session variables are not defined when accessed in the frames. Why and how to fix this ? Take these for example. The only session variable contents displayed right are the ones defined in the actual frame. This only...
6
6323
by: mike | last post by:
Hello, After trying to validate this page for a couple of days now I was wondering if someone might be able to help me out. Below is a list of snippets where I am having the errors. 1. Line 334, column 13: there is no attribute "SRC" <bgsound src="C:\My Documents\zingwent.mids"> You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is...
5
3647
by: Phil Grimpo | last post by:
I have a very odd situation here. I have an administration page, where based on a users permissions, a recordset is called from the SQL server which has a list of paths to "Module Menus". Each of these menus are then placed into the page by calling Server.Execute(rs_Modules("ModulePath")). This works fine for up to 15 "menus" After that, the session variables that were set (not including those called by Global.ASA) are no longer set. ...
8
5464
by: baustin75 | last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie only when debugging in php designer 2005 -------------------------------------------------------------------------------- Hello, I have a very simple problem but cannot seem to figure it out. I have a very simple php script that sends a test email to myself. When I debug it in PHP designer, it works with no problems, I get the test email. If
1
2086
by: paleHail | last post by:
Hi all, I have my index.html where I have two frames: <frameset rows="144,*" border="0" frameborder="no"> <frame src="header.html" frameborder="no" noresize scrolling="no"> <frame src="rightFrame.html" name="frontpage" frameborder="no" noresize> </frameset> I wanted the top of the site to stay in tact while the bottom
0
5558
by: gunimpi | last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431 ******************************************************** VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help wanted ******************************************************** For this teeny job, please refer to: http://feeds.reddit.com/feed/8fu/?o=25
2
1827
by: deshg | last post by:
Hey everyone, I am a php programmer originally and am just helping a friend of mine update their website that they paid a designer (well that's what he called himself!) to do ages ago. I have built the whole site (ASP.NET using VB.NET) but am having problems on the most basic thing! I have a page which querys an MS SQL database and takes url variables to query it, so it takes the value of keyword= and perpage= (eg from...
25
2076
by: Geoff Cox | last post by:
Hello, The following <frame src="topbar-frameset.php?newVar=<?php echo $groups; ?>"> passes the value of the variable $groups from a php file to the top page in a frameset but how do I change it if $groups is an array? Cheers,
0
8356
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8869
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8781
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
5664
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4198
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4368
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2771
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2011
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1775
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.