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 ? 4 1524
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:ub**************@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 ?
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:ub**************@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
"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:ub**************@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.
--
I hope this helps,
Steve C. Orr, MCSD, MVP http://SteveOrr.net
"Koen" <Ko**@discussions.microsoft.com> wrote in message
news:E1**********************************@microsof t.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:ub**************@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 ? > > This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Scott |
last post by:
Hello,
we are having problems displaying non-aspx files (images, style
sheets) since we have upgraded to the 1.1 framework when using a
cookieless session (sessionID in the url).
Check out...
|
by: Kent Tegels |
last post by:
Okay, so I know I'm doing two evil things: using Frames
and storing stuff in Session. I'm a sinner and I'll
repent after this project, I promise.
But for now, I've got an interesting issue.
...
|
by: Joe Molloy |
last post by:
Hi,
This isn't a mission critical question but I thought I'dl throw it out there
for your feedback as it's a bit curious.
I have developed a shopping cart for an application I'm working on...
|
by: Werner |
last post by:
Hi Patrick!
Can you give an example of how to use a frameset inside an aspx-file?
When I create a new frameset in Visual Studio.Net it just gives me a htm-File.
Or give me a link where I can...
|
by: DavidS |
last post by:
First: There are several ways to confuse one regarding session timeout.
(1) web.config - <sessionState timeout="20">
(2) IIS Manager | Internet Information Services | ServerNode | Default Web Site...
|
by: Alexander Widera |
last post by:
hi,
who has seen the follow problem or could help please?
i visit a page .... i read a sesssion-var . ... everythink works...... i
visit the page again..... error ... the sessionvar is null .... i...
|
by: catweezle2010 |
last post by:
Hello NG,
I have three files (default.aspx, search.aspx and work.aspx). The way
is: login on default (if session is newsession). The loginname I write
into as sessionvariable (username). So I...
|
by: dave |
last post by:
Hi all
I'm newbie to asp.net and building simple pages using vb.net.
I have got three pages default.aspx (which is login page), index.aspx and logout.aspx.
In logout.aspx i have put following...
|
by: Mr Newbie |
last post by:
I have written a Custom Control Menu. Its fairly simple but it works well
enough. In order to simplify things I decided to store the Menu1 custom
control in Session. In the page load event below,...
|
by: Ned Balzer |
last post by:
Hi,
Apologies if this is a newbie question, I haven't found the answer in
any faqs.
I have an asp.net 2.0 page that sets session variables and then
redirects to another page. For the page...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
| |