By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,930 Members | 1,383 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,930 IT Pros & Developers. It's quick & easy.

Passing a value to another page

P: n/a
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
Share this Question
Share on Google+
6 Replies


P: n/a
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

P: n/a

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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.