Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: authentication problem!!!


Message #1 by "taherm@f... on Wed, 23 May 2001 16:17:18
scenario

there is a  5 page asp website

the first page has checks for login. if login details match with the 

Database values tehn teh user enters the website.

its works fine until there.

problem:

i cant maintain the state of that particular user. whic means that once 

the user enters into th 3rd page and if he/she copies teh url from the 

address bar then next time if teh user wants to enter the site they dont 

need to enter teh password as tehy can just paste the url in the address 

field of teh explorer.

solution

i think that i should use some session or application variables.

plz let me knw if i am correct



thanks in advance

will appreciate your response

tahnks again
Message #2 by "Wanschek, John J" <jjwansch@i...> on Wed, 23 May 2001 10:30:56 -0500
I would write the check login script as a functions and include it on the

top of every page. Simply set a session variable once they login, check to

see if it's Null. If it is then push them back to the login process. Other

wise let them continue.



JJW



-----Original Message-----

From: taherm@f...

[mailto:taherm@f...]

Sent: Wednesday, May 23, 2001 11:17 AM

To: ASP Web HowTo

Subject: [asp_web_howto] authentication problem!!!





scenario

there is a  5 page asp website

the first page has checks for login. if login details match with the 

Database values tehn teh user enters the website.

its works fine until there.

problem:

i cant maintain the state of that particular user. whic means that once 

the user enters into th 3rd page and if he/she copies teh url from the 

address bar then next time if teh user wants to enter the site they dont 

need to enter teh password as tehy can just paste the url in the address 

field of teh explorer.

solution

i think that i should use some session or application variables.

plz let me knw if i am correct



thanks in advance

will appreciate your response

tahnks again


  Return to Index