473,406 Members | 2,698 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

How to preserve session in embeded browser?

When I plug my IE into my own managed forms in C#,I always lost cookies in
the new IE page(if the new IE page is generated by the javascript
"Window.open()").How to solve this problem?Can I use axWebBrowser to solve
it?
Dec 18 '06 #1
1 1030
Hi,
Though i am not sure you can try following things(i found this on searching
on internet):
[1] try window.showModalDialog() instead of window.open
[2]if the data you need to send to another page is not sensitive, send it in
the query string.

example

window.open("WebForm2.aspx?username=test");

and then retrieve it from the newly opened page using code behind

string userName = Request.QueryString["username"];

if it is sensitive try to encode it and decode it.

Thanks and Regards,
Manish Bafna.
MCP and MCTS.
"navyliu" wrote:
When I plug my IE into my own managed forms in C#,I always lost cookies in
the new IE page(if the new IE page is generated by the javascript
"Window.open()").How to solve this problem?Can I use axWebBrowser to solve
it?
Dec 18 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Malcolm Klotz | last post by:
Hello, I have a problem with ASP.Net: I have an ASP.Net application on a web farm, using SQL Server Session State Management, running on Windows 2000 (IIS 5) With session management on, a URL...
6
by: Dominique | last post by:
Hi all, I'm using .NET v1.1 and the scenario I have is as follows... I have IE as an ActiveX control embedded in may C# App. I generate a HTML file dynamically and within the HTML file I embed a...
6
by: Joe | last post by:
A user of one of our sites recently reported that they were "seeing someone else's data". Naturally, this got many people in the organization VERY concerned and I began to try and troubleshoot. ...
6
by: lucyh3h | last post by:
Hi, In one of my pages, I use javascript (AJAX) to populate one mulitple select field based on user's click event on another control. I noticed that when I navigate back to this page by clicking...
1
by: keyser soze | last post by:
hi REDIM Preserve reports an "out of range" i first create an array, store it into a session var then, in other page, i load restore the session var into a local array but, after this, i can't...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.