Passing a value to another page

  • Thread starter Thread starter Kausar
  • Start date Start date
K

Kausar

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

Regards

John Timney (MVP)
 
Kausar said:
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)?
 
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
 
You can use Query Strings
like this

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

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
 
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
 
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
 
Back
Top