Go Back   Velocity Reviews > Newsgroups > ASP Net
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

ASP Net - javascript for checking user

 
Thread Tools Search this Thread
Old 12-23-2005, 09:53 PM   #1
Default Re: javascript for checking user


Why would need javascript when formsauthentication has methods for checking
and redirecting the user already.
"noor" <> wrote in message
news:eiQvEf$...
> hi,
> can any one tell me a javascript that can be called on mouseover event of
> a
> html link control .
> script can check from session either a user is login or not
> In the case of Login it will redirect to the given url.
> In the case of not Login it will prompt the user that u r not login kindly
> login.
>
> actually that link leads a user to Download Software. but this feature is
> only for registerd user.
>
> kindly help me. it will be best if u give me a script for it.
> Thanks
> Noor
>
>





Showjumper
  Reply With Quote
Old 12-23-2005, 10:55 PM   #2
Peter Rilling
 
Posts: n/a
Default Re: javascript for checking user
You *never* want to trust the client/browser to validate authentication.

In the best case JavaScript might be turned of. In the worst case, someone
has written their own browser or client to access your pages thereby
bypassing your security.

"noor" <> wrote in message
news:eiQvEf$...
> hi,
> can any one tell me a javascript that can be called on mouseover event of
> a
> html link control .
> script can check from session either a user is login or not
> In the case of Login it will redirect to the given url.
> In the case of not Login it will prompt the user that u r not login kindly
> login.
>
> actually that link leads a user to Download Software. but this feature is
> only for registerd user.
>
> kindly help me. it will be best if u give me a script for it.
> Thanks
> Noor
>
>





Peter Rilling
  Reply With Quote
Old 12-24-2005, 08:35 AM   #3
noor
 
Posts: n/a
Default javascript for checking user
hi,
can any one tell me a javascript that can be called on mouseover event of a
html link control .
script can check from session either a user is login or not
In the case of Login it will redirect to the given url.
In the case of not Login it will prompt the user that u r not login kindly
login.

actually that link leads a user to Download Software. but this feature is
only for registerd user.

kindly help me. it will be best if u give me a script for it.
Thanks
Noor




noor
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
navigator.browserLanguage --JavaScript cauzon Software 0 12-28-2007 05:33 AM
problem with javascript dootam Software 1 07-10-2007 06:38 AM
ASP.NET with User Interface Process Application Block robinp Software 0 03-05-2007 10:01 AM
Ajax Atlas not working in User Control faiq Software 0 09-16-2006 08:28 AM
Any DVD Player that can override User Prohibitions? Walter Traprock DVD Video 3 12-03-2005 11:43 PM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46