Get support from Xavier Media
It is currently Sun Dec 08, 2013 7:32 pm

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject:
PostPosted: Thu Dec 06, 2007 4:07 pm 
Offline
XavierForum.com Admin
XavierForum.com Admin
Super VIP Member
Super VIP Member
User avatar

Joined: Tue Mar 15, 2005 4:37 pm
Posts: 1082
Location: Sweden
Points: 1500
The user name and the password are stored in two cookies called loginpwd and loginuser. I don't know how to do it in aspx but in PHP you would call the cookies something like this:
Code:
<INPUT TYPE=text VALUE="<? echo $_COOKIE['loginuser'] ?>"><BR />
<INPUT TYPE=text VALUE="<? echo $_COOKIE['loginpwd'] ?>"><BR />

Please remember that both the aspx page and the cookie password protection script must be on the same domain, otherwise you can't read the cookies (cookies work that way so that they can only be access from the domain name that set the cookies).

Also please note that the password is encrypted and not in plain text :(

/Andreas

_________________
Xavier Media®
Join me at LinkedIn | Get your latest blog post in your signature you too


Last edited by bylla on Thu Dec 13, 2007 4:07 pm, edited 1 time in total.

Report this post
Top
 Profile Send private message  
Reply with quote  
 Post subject:
PostPosted: Thu Dec 13, 2007 4:07 pm 
Offline
XavierForum.com Admin
XavierForum.com Admin
Super VIP Member
Super VIP Member
User avatar

Joined: Tue Mar 15, 2005 4:37 pm
Posts: 1082
Location: Sweden
Points: 1500
you place the code on the page you want to pass the login information to.

/Andreas

_________________
Xavier Media®
Join me at LinkedIn | Get your latest blog post in your signature you too


Report this post
Top
 Profile Send private message  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Registered users: No registered users


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

Portal » Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
[
SEO MOD © 2007 StarTrekGuide ]