<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML dir=ltr><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<STYLE title=owaParaStyle>P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</STYLE>

<META name=GENERATOR content="MSHTML 8.00.6001.19394"></HEAD>
<BODY ocsi="x">
<DIV dir=ltr align=left><SPAN class=687370923-16052013><SPAN class=p><FONT 
color=#0000ff size=2 face=Arial>It's been a while since I've used this but 
</FONT></SPAN></SPAN><SPAN class=687370923-16052013><SPAN class=p><FONT 
color=#0000ff size=2 face=Arial>try passing your cookie as a parameter to 
WebCoverageService:</FONT></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=687370923-16052013><SPAN class=p><FONT 
color=#0000ff size=2 face=Arial>i.e. myWCS=WebCoverageService(myurl, 
version='1.X.X', cookies='mysessiontoken=123abc')</FONT></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=687370923-16052013><SPAN class=p><FONT 
color=#0000ff size=2 face=Arial></FONT></SPAN></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=687370923-16052013><SPAN class=p><FONT 
color=#0000ff size=2 face=Arial>(I think you just pass a string if I 
remember rightly)</FONT></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=687370923-16052013><SPAN class=p><FONT 
color=#0000ff size=2 face=Arial></FONT></SPAN></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=687370923-16052013><SPAN class=p><FONT 
color=#0000ff size=2 face=Arial>As to where/how the cookie is generated 
that is application specific so can't really help 
much...</FONT></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=687370923-16052013><SPAN 
class=p></SPAN></SPAN><SPAN class=687370923-16052013><SPAN 
class=p></SPAN></SPAN><SPAN class=687370923-16052013><SPAN class=p><FONT 
color=#0000ff size=2 face=Arial></FONT></SPAN></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=687370923-16052013><SPAN class=p><FONT 
color=#0000ff size=2 face=Arial>Cheers,</FONT></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=687370923-16052013><SPAN class=p><FONT 
color=#0000ff size=2 face=Arial>Dom</FONT></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=687370923-16052013><SPAN class=p><FONT 
color=#0000ff size=2 face=Arial></FONT></SPAN></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=687370923-16052013><SPAN class=p><FONT 
color=#0000ff size=2 face=Arial></FONT></SPAN> </DIV></SPAN><BR>
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> owslib-users-bounces@lists.osgeo.org 
[mailto:owslib-users-bounces@lists.osgeo.org] <B>On Behalf Of </B>Iñigo Hernáez 
Corres<BR><B>Sent:</B> Thursday, 16 May 2013 10:36 PM<BR><B>To:</B> 
owslib-users@lists.osgeo.org<BR><B>Subject:</B> [OWSLib-users] WCS Cookie 
Generation<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr><FONT color=#000000 size=2 face=Tahoma><FONT color=#000000 size=2 
face=Tahoma><FONT color=#000000 size=2 face=Tahoma>Hello 
everybody</FONT>,</FONT></DIV>
<DIV>
<DIV dir=ltr>
<DIV dir=ltr><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV dir=ltr><FONT size=2 face=tahoma>My name is Iñigo Hernáez. In my job, 
we use OWSLib to retrieve geospatial data from a server. To download 
geotiff files we need to use the WebCoverageService function. However this needs 
a session cookie to work properly, but there is not enough information in the 
documentation on how to do this.</FONT></DIV>
<DIV dir=ltr><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV dir=ltr><FONT size=2 face=tahoma><FONT size=2 face=tahoma>How</FONT> is the 
cookie generated with the user credentials? How is it then used in the WCS 
function?</FONT></DIV>
<DIV dir=ltr><FONT size=2 face=tahoma></FONT> </DIV>
<DIV dir=ltr><FONT size=2 face=tahoma><FONT size=2 face=tahoma>Thanks</FONT> in 
advanced for your time!</FONT></DIV></FONT></DIV>
<DIV dir=ltr><FONT size=2 face=tahoma></FONT> </DIV>
<DIV class=BodyFragment><FONT size=2>
<DIV class=PlainText><FONT color=#808080 size=3 face=Arial><FONT color=#808080 
size=3 face=Arial>Iñigo</FONT> Hernáez Corres</FONT></DIV>
<DIV class=PlainText><FONT face=arial><FONT 
color=#808080></FONT></FONT> </DIV>
<DIV class=PlainText><FONT face=arial><FONT color=#808080>email: <A 
href="mailto:ihernaez@adasasistemas.com"><FONT 
color=#808080>ihernaez@adasasistemas.com</FONT></A></FONT></FONT></DIV>
<DIV class=PlainText><FONT color=#808080 face=arial><FONT color=#808080 
face=arial>tlf</FONT>: (+34) 945 064483</FONT></DIV>
<DIV class=PlainText><FONT color=#808080 face=arial>C/Portal de Foronda, 
41</FONT></DIV>
<DIV class=PlainText><FONT color=#808080 face=arial>01010, 
Vitoria-Gasteiz</FONT></DIV>
<DIV class=PlainText><FONT color=#808080 face=arial></FONT> </DIV>
<DIV class=PlainText><FONT color=#4d4e53 face=Arial>Maintenance & Logistics 
Services (M&LS)</FONT></DIV>
<DIV class=PlainText>
<DIV><FONT color=#808080 size=1 face=Arial><SPAN 
style="FONT-FAMILY: Arial; COLOR: #4d4e53; FONT-SIZE: 9pt"><IMG id=_x0000_i1026 
width=146 height=53></SPAN></FONT></DIV>
<DIV>
<P class=MsoNormal><FONT size=1 face=Arial><SPAN 
style="FONT-FAMILY: Arial; COLOR: #4d4e53; FONT-SIZE: 9pt"><FONT 
color=#808080>José Agustín Goytisolo, 30-32<BR>08908 L'Hospitalet de Llobregat - 
Barcelona<BR>T. (+34) 93 264 06 02<BR>F. (+34) 93 264 06 56<BR><A 
href="https://correo.adasasistemas.com/owa/UrlBlockedError.aspx" 
target=_blank><SPAN style="COLOR: #4d4e53"><FONT 
color=#808080>www.comsaemte.com</FONT></SPAN></A></FONT></SPAN></FONT></P></DIV></DIV></FONT></DIV></DIV><BR><FONT 
color=green size=1 face=Verdana>No imprimir si no es necesario. Protejamos el 
Medio Ambiente.<BR>Please consider the environment before printing this 
email.<BR></FONT><BR><FONT color=gray size=1 face=Verdana>Este mensaje, y en su 
caso cualquier fichero anexo al mismo, es sólo para el destinatario a quien va 
dirigido y puede contener información privilegiada, profesional o privada. Si lo 
ha recibido por error, por favor notifíquelo inmediatamente el remitente y 
elimine el original. Cualquier otro uso que haga de este mensaje está 
prohibido.<BR><BR>This message and its attachments, if any, is solely for the 
attention of the addressee and may contain privileged confidential information 
of a professional or other nature. If you have received this message by mistake, 
please notify the senderimmediately and delete the original. It is prohibited to 
use this message for any other purpose.<BR></FONT></BODY></HTML>