473,386 Members | 1,793 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Passing a value to another page

Hello All,

How do i pass the value from a page that exists on some domain to
another page that exists in subdomain.

Regards
Kausar
Aug 8 '06 #1
6 1999
You could pass it in the querystring as part of a redirection to the
subdomain

Regards

John Timney (MVP)
"Kausar" <ka************@suviinfo.comwrote in message
news:el**************@TK2MSFTNGP06.phx.gbl...
Hello All,

How do i pass the value from a page that exists on some domain to
another page that exists in subdomain.

Regards
Kausar


Aug 8 '06 #2

Kausar wrote:
Hello All,

How do i pass the value from a page that exists on some domain to
another page that exists in subdomain.

Regards
Kausar
I'm not sure that there is not more to your question than it first
seems. But assuming not then what's stopping you passing your value
from one page to the next as part of the request object (i.e. a form
element)?

Aug 8 '06 #3
Muhammad,

i dont think you can use 'SessionState' to share values between 2 domains.

Kausar,

you can use 1) Querystrings or 2) Hidden Variables to pass variables between
2 domains.

Regards,
Augustin

"Muhammad Mosa" wrote:
You can use Query Strings
like this

page.aspx?ParamName1=ParamValue1
and for multiple values
page.aspx?ParamName1=ParamValue1&ParamName2=ParamV alue2

I think also you can use Session state, but in your case I think you need to
use stateserver instead of In Process session state management.

--
Muhammad Mosa
Software Engineer & Solution Developer
MCT/MCSD.NET
MCTS: .Net 2.0 Web Applications
MCTS: .Net 2.0 Windows Applications
"Kausar" wrote:
Hello All,

How do i pass the value from a page that exists on some domain to
another page that exists in subdomain.

Regards
Kausar

Aug 8 '06 #4
You can use Query Strings
like this

page.aspx?ParamName1=ParamValue1
and for multiple values
page.aspx?ParamName1=ParamValue1&ParamName2=ParamV alue2

I think also you can use Session state, but in your case I think you need to
use stateserver instead of In Process session state management.

--
Muhammad Mosa
Software Engineer & Solution Developer
MCT/MCSD.NET
MCTS: .Net 2.0 Web Applications
MCTS: .Net 2.0 Windows Applications
"Kausar" wrote:
Hello All,

How do i pass the value from a page that exists on some domain to
another page that exists in subdomain.

Regards
Kausar
Aug 8 '06 #5
Well I though it might be possible to use sessionstate
in case of subdomains, but I wasn't sure.
Anyway thanks for the information

Regards,
--
Muhammad Mosa
Software Engineer & Solution Developer
MCT/MCSD.NET
MCTS: .Net 2.0 Web Applications
MCTS: .Net 2.0 Windows Applications
"Augustin Prasanna" wrote:
Muhammad,

i dont think you can use 'SessionState' to share values between 2 domains.

Kausar,

you can use 1) Querystrings or 2) Hidden Variables to pass variables between
2 domains.

Regards,
Augustin

"Muhammad Mosa" wrote:
You can use Query Strings
like this

page.aspx?ParamName1=ParamValue1
and for multiple values
page.aspx?ParamName1=ParamValue1&ParamName2=ParamV alue2

I think also you can use Session state, but in your case I think you need to
use stateserver instead of In Process session state management.

--
Muhammad Mosa
Software Engineer & Solution Developer
MCT/MCSD.NET
MCTS: .Net 2.0 Web Applications
MCTS: .Net 2.0 Windows Applications
"Kausar" wrote:
Hello All,
>
How do i pass the value from a page that exists on some domain to
another page that exists in subdomain.
>
Regards
Kausar
>
>
>
Aug 8 '06 #6
Sorry guys, i believe that i had got it wrong. We cannot post Form
variables/Hidden Variables from one app to another app. so the only way is to
use Querystring.

please correct me if am wrong.

Regards,
Augustin

"Richard Brown" wrote:
>
Kausar wrote:
Hello All,

How do i pass the value from a page that exists on some domain to
another page that exists in subdomain.

Regards
Kausar

I'm not sure that there is not more to your question than it first
seems. But assuming not then what's stopping you passing your value
from one page to the next as part of the request object (i.e. a form
element)?

Aug 8 '06 #7

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

Similar topics

12
by: Kevin Lyons | last post by:
Hello, I am trying to get my select options (courses) passed correctly from the following URL: http://www.dslextreme.com/users/kevinlyons/selectBoxes.html I am having difficulty getting the...
1
by: Kevin Lyons | last post by:
Hello, I am trying to get all of my form elements passed correctly from the following URL: http://www.dslextreme.com/users/kevinlyons/selectBoxes.html to the following URL:...
2
by: Richard | last post by:
**** Post for FREE via your newsreader at post.usenet.com **** HI, I am working on a project where I need to input data to a (local) HTML page using multiple form elements, such as text,...
0
by: Rico Singleton | last post by:
I currently have an asp page that contains a simple form and a few hidden fields. One of those hidden fields retrieves a value passed in when a link is clicked that passes a value (i.e...
2
by: Mike P | last post by:
When you are passing a value to another page, and will need access to it throughout the page and on any postbacks, what is the best way to store it? By making it a variable accessible to the whole...
2
by: jonefer | last post by:
I'm using a Public variable that I set on one page so that it will be available for another page but, I know this isn't the way it should be done. Being an Access Developer, how would I do the...
5
by: Steve | last post by:
Hi, I currently have a problem passing a variable value from one page to another. Once a form submit button is pressed java pops up a window and displays some information. The problem being is...
3
by: James Robertson | last post by:
I am new to the ASP and VB thing so be kind. Question I have is that I have created an ASPX web site to use as an E-Mail page. But I want to use this for a lot of users. Can I create the link on...
5
by: aelred | last post by:
I have a web page where a member can open up a chat window (child window) with another member. - From there the member can also navigate to other web pages. - From other pages in the site, they...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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,...
0
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...

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.