469,625 Members | 1,074 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,625 developers. It's quick & easy.

How to check whether session is existing or not

Hi friends,

My problem is...i want to open an application on click of some link...but before opening that application i want to check if that application is already opened with some other login id or not....if it is already opened with some other id i want to show a warning message...

for example...suppose i want to open yahoo on click of some link...and suppose yahoo is having the restriction that at a time only one user can login from same machine...now if someone is already logged in to yahoo on my machine and i'm clicking my link...then it shoul give me a popup message that one user is already logged in...
Sep 27 '07 #1
1 2263
dmjpro
2,476 2GB
Hi friends,

My problem is...i want to open an application on click of some link...but before opening that application i want to check if that application is already opened with some other login id or not....if it is already opened with some other id i want to show a warning message...

for example...suppose i want to open yahoo on click of some link...and suppose yahoo is having the restriction that at a time only one user can login from same machine...now if someone is already logged in to yahoo on my machine and i'm clicking my link...then it shoul give me a popup message that one user is already logged in...

Look, using JavaScript you can't execute Server Side code, except Ajax.
Now here you can solve your problem by using cookie.
You know it.
if not then go for Google :-)

Kind regards,
Dmjpro.
Sep 27 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

7 posts views Thread by fr? | last post: by
reply views Thread by james | last post: by
1 post views Thread by Yaro | last post: by
reply views Thread by Larry Lau | last post: by
3 posts views Thread by Uwe | last post: by
4 posts views Thread by Simon Gare | last post: by
2 posts views Thread by =?Utf-8?B?VmxhZCBIcnlib2s=?= | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.