473,765 Members | 1,977 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2031
You could pass it in the querystring as part of a redirection to the
subdomain

Regards

John Timney (MVP)
"Kausar" <ka************ @suviinfo.comwr ote in message
news:el******** ******@TK2MSFTN GP06.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?Param Name1=ParamValu e1
and for multiple values
page.aspx?Param Name1=ParamValu e1&ParamName2=P aramValue2

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?Param Name1=ParamValu e1
and for multiple values
page.aspx?Param Name1=ParamValu e1&ParamName2=P aramValue2

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?Param Name1=ParamValu e1
and for multiple values
page.aspx?Param Name1=ParamValu e1&ParamName2=P aramValue2

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
6558
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 courses to pass the correct option value and then be displayed at the following URL: http://www.dslextreme.com/users/kevinlyons/selectResults.html I am passing countries, products, and courses. The first two display
1
4614
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: http://www.dslextreme.com/users/kevinlyons/selectResults.html I am passing name, email, countries, cities, products, courses, etc. The others display as they should on the subsequent page,
2
2548
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, radio, checkbox, and dropdown. When the form Submit button is clicked, I then need the input data either written to another location on the same page, or written to another page (a different frame would be fine)
0
1090
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 http://www.somewhere.com/contact.asp?52 ) The code works fine on as an asp page on IIS 5.5 however, in trying to migrate the pages on to IIS 6.0 with .NET Framework enabled, I get a Runtime error everytime this value " " is used. The current code that...
2
363
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 page, or by putting it in the ViewState? Thanks, Mike
2
1419
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 same thing in ASP.NET as: opening a form and passing a value to OpenArgs so that the next form can access that value? Also, for using a selected value from a DataGrid, could someone please show me the convention (and steps - please?) for...
5
2424
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 variables value needs to be passed from the main page to this popup window ... but it isn't. why? the submit button one the PHP page is
3
1986
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 the WEB site to mail to passing a variable from the WEB site to the ASPX web site to E-Mail to? Hope I explained this correctly. This is a response from another group. There was no way for you to know it, but this is a classic asp newsgroup....
5
10300
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 may also open up new chat windows with other members (just not the same one). - Each chat page is opened with the member name as the window name. - When I log off from the web page, I would like all the chat windows to automatically close. I...
1
9957
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
9835
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7379
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6649
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
5276
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
5423
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3924
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
3532
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2806
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.