|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Session from asp to aspxI 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 ? 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/ 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 ? > > 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 ? > > > > > > > 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. 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 ? >> > >> > >> >> >> |
|||||||||||||||||||||||