473,466 Members | 1,406 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

how to get Session by SessionID?

I want get a page by WebClient.DownloadData
but the request is sent by Server

can't pass data by Session

I want pass a string by Get
("/mypage.aspx?SessionID=nmrf4d55ycrd1r55ks00goqg")

so mypage.aspx can access Same session object

how to get Session?
thanks


--
¼ÖÌú¾ü
----------------------
Óʼþ:ji*******@126.com
MSN :ji*******@msn.com
QQ :170437901
µç»°:15802955851
----------------------
Aug 7 '08 #1
3 2511
"jiatiejun" <ji*******@126.comwrote in message
news:O%******************@TK2MSFTNGP03.phx.gbl...
how to get Session?
You can't - the Session object is not available externally...

When a browser makes the first connection to the site, a Session object is
created. This is not available to other users of the site.
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Aug 7 '08 #2

may I use Application to pass Session reference?

"Mark Rae [MVP]" <ma**@markNOSPAMrae.net>
??????:OO****************@TK2MSFTNGP04.phx.gbl...
"jiatiejun" <ji*******@126.comwrote in message
news:O%******************@TK2MSFTNGP03.phx.gbl...
>how to get Session?

You can't - the Session object is not available externally...

When a browser makes the first connection to the site, a Session object is
created. This is not available to other users of the site.
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Aug 7 '08 #3
"jiatiejun" <ji*******@126.comwrote in message
news:eU****************@TK2MSFTNGP05.phx.gbl...

[top-posting corrected]
>>how to get Session?

You can't - the Session object is not available externally...

When a browser makes the first connection to the site, a Session object
is created. This is not available to other users of the site.

May I use Application to pass Session reference?
No.
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Aug 7 '08 #4

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

Similar topics

1
by: Savas Ates | last post by:
im adding users in my database with theirs session.sessionid with this id i also add some products in my db .. but server can create same session.sessionid So , my records can be complex .. i...
5
by: Eugene Anthony | last post by:
In my login.asp I have the following code: <!--#include file="database_Function.asp"--> <% Dim sSessionID, sMessage If Len(Request.Form("cmdSubmit")) > 0 then mySQL = "EXECUTE...
7
by: Seth | last post by:
I have noticed that the id of my session object changes when I switch from a non-secure to a secure connection. What I'm trying to do: I have a cookie that is built on the non-secure side of...
8
by: Dave Wurtz | last post by:
All, I'm new to ASP development and I have a basic design question: Is it ok to store business objects to session variables or is there a better way to keep object information? For example,...
4
by: Chris | last post by:
When a request comes into a page on my ASP.net site and a session is not found, I want to detect whether the request is an initial request or if the user did have a session going that has now been...
4
by: Andy Fish | last post by:
Hi, I have an asp.net application that is using Forms Authentication and maintaining http session state using cookies in the normal way. when the user clicks the logout button I do this: ...
4
by: Jake | last post by:
Does cookieless session state (with the sessionid embedded into the url) interfere with the browser's retrieval of cached images from one session to the next? Does the sessionid embedded into the...
2
by: ocean | last post by:
I want to get the session associated with the specific sissionID. I made a activex control required to login to the server.My idead as follow: 1.Get sessionID through IHTMLDocument2 interface(a COM...
25
by: =?Utf-8?B?RGF2aWQgVGhpZWxlbg==?= | last post by:
I tried: <sessionState timeout="1"> </sessionState> bounced IIS, and after 1 minute still had a session. ??? -- thanks - dave
7
by: David Lozzi | last post by:
Howdy, I'm trying to capture the session end event. I put a spot of code in the Session_End event in the Global.asax.vb file. The function simply writes to a database table logging the event. I...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.