Home All Groups Group Topic Archive Search About

Session from asp to aspx

Author
14 Apr 2005 9:35 PM
Meir Rudovsky
I have asp page which has  iframe to host aspx page. Since , the main
application (asp page)  has session values , i need these values be passed
to aspx page in iframe. But, i found out that session cookies are not the
same.
Is there any way to pass session values from asp to aspx ?

Author
15 Apr 2005 5:14 AM
Steve C. Orr [MVP, MCSD]
You could share values in a common database, or pass values via javascript &
querystring.
The easiest way would likely be to use a third party product to handle it,
such as this one:
http://www.consonica.com/solutions/statestitch/

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net



Show quoteHide quote
"Meir Rudovsky" <rm***@012.net.il> wrote in message
news:ubjAhnTQFHA.4004@TK2MSFTNGP15.phx.gbl...
>I have asp page which has  iframe to host aspx page. Since , the main
> application (asp page)  has session values , i need these values be passed
> to aspx page in iframe. But, i found out that session cookies are not the
> same.
> Is there any way to pass session values from asp to aspx ?
>
>
Are all your drivers up to date? click for free checkup

Author
15 Apr 2005 10:24 AM
Koen
isn't using a shared database a little overkill ?

anyway, knowing that in cookies you can only store strings, the querystring
seems to be the best solution, eventough its length is limited

Show quoteHide quote
"Steve C. Orr [MVP, MCSD]" wrote:

> You could share values in a common database, or pass values via javascript &
> querystring.
> The easiest way would likely be to use a third party product to handle it,
> such as this one:
> http://www.consonica.com/solutions/statestitch/
>
> --
> I hope this helps,
> Steve C. Orr, MCSD, MVP
> http://SteveOrr.net
>
>
>
> "Meir Rudovsky" <rm***@012.net.il> wrote in message
> news:ubjAhnTQFHA.4004@TK2MSFTNGP15.phx.gbl...
> >I have asp page which has  iframe to host aspx page. Since , the main
> > application (asp page)  has session values , i need these values be passed
> > to aspx page in iframe. But, i found out that session cookies are not the
> > same.
> > Is there any way to pass session values from asp to aspx ?
> >
> >
>
>
>
Author
15 Apr 2005 7:42 PM
Steve C. Orr [MVP, MCSD]
It's up to you to decide which technique fits best for your application, but
in general I'd say it is NOT overkill to use a database to share data
between separate (but related) software systems.  In fact, that's one of the
main reasons databases were invented.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net


Show quoteHide quote
"Koen" <K***@discussions.microsoft.com> wrote in message
news:E15D65F3-4FB3-42D1-9170-8743E3BA8E55@microsoft.com...
> isn't using a shared database a little overkill ?
>
> anyway, knowing that in cookies you can only store strings, the
> querystring
> seems to be the best solution, eventough its length is limited
>
> "Steve C. Orr [MVP, MCSD]" wrote:
>
>> You could share values in a common database, or pass values via
>> javascript &
>> querystring.
>> The easiest way would likely be to use a third party product to handle
>> it,
>> such as this one:
>> http://www.consonica.com/solutions/statestitch/
>>
>> --
>> I hope this helps,
>> Steve C. Orr, MCSD, MVP
>> http://SteveOrr.net
>>
>>
>>
>> "Meir Rudovsky" <rm***@012.net.il> wrote in message
>> news:ubjAhnTQFHA.4004@TK2MSFTNGP15.phx.gbl...
>> >I have asp page which has  iframe to host aspx page. Since , the main
>> > application (asp page)  has session values , i need these values be
>> > passed
>> > to aspx page in iframe. But, i found out that session cookies are not
>> > the
>> > same.
>> > Is there any way to pass session values from asp to aspx ?
>> >
>> >
>>
>>
>>

Bookmark and Share