Users can reach my application with both http as https (ssl). When
using http, I want to show a link on the page (testform.html), like
"click here for secure site". When the user uses https, I would like
to hide this link.

Question, is it possible to check the current url, for example:

if current_url = "http://...":
 show link
else:
 hide link

Please help me out here with the right code.

Thanks,

Mark

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to