equal
deleted
inserted
replaced
|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. --> |
|
3 <!-- This component and the accompanying materials are made available under the terms of the License |
|
4 "Eclipse Public License v1.0" which accompanies this distribution, |
|
5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". --> |
|
6 <!-- Initial Contributors: |
|
7 Nokia Corporation - initial contribution. |
|
8 Contributors: |
|
9 --> |
|
10 <!DOCTYPE concept |
|
11 PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> |
|
12 <concept id="GUID-EA9C4CF0-F39B-4FBB-924D-F78320E08F2C" xml:lang="en"><title>Getting |
|
13 HTTP session ID</title><prolog><metadata><keywords/></metadata></prolog><conbody> |
|
14 <p>The Property method is used to get the current value of the session ID. |
|
15 For example: </p> |
|
16 <codeblock xml:space="preserve">THTTPHdrVal value; |
|
17 TBool exists = ConnectionInfo.Property(sessionId, value); |
|
18 if ( exists ) |
|
19 { |
|
20 TInt theSessionId = value.Int(); |
|
21 ... |
|
22 }</codeblock> |
|
23 <p>If the session ID has been set, this returns <codeph>ETrue</codeph> and |
|
24 sets the value to the session ID that was requested by the last call to <xref href="GUID-CE06EB9E-FC1D-37EE-A101-AB4600B2E5F6.dita"><apiname>SetPropertyL()</apiname></xref>. |
|
25 If an ID has not been set, or the ID has been removed, this will return <codeph>EFalse</codeph>. </p> |
|
26 </conbody></concept> |