if you are working on same site, single session will work for all tab. if you want to another session on same machine then you need to open another browser.
I dont know the solution, but I think all browsers will not allow u to do that
as when opening the same web site in a new tab (assuming that it is already opened in the first tab)
the session will remain same, just test it with Hotmail, Yahoo, or any other famous web site, open a browser, browse a site
Login to that site, and then copy paste the URL in new tab
your information very usefull for me....i try on banking system it's work..after i log in, then i copy the url and open other tab it will redirect to log out page it does not allow to do that thing....if you found any related link or code please share it
with me...i really appreciate your help my expertise...
afastars
Member
52 Points
221 Posts
Session Redirect To Other Page When Try to Copy Url
Dec 14, 2012 10:41 AM|LINK
hi all expertise
i'm using session in my system, so what i want to do is after the user login succesfully into the system,
then if the user try to copy the system url and paste to new open tab browser it will reditect to other page,
how it can be done...i'm new in programming need help from expertise here
Anil Pathak
Member
206 Points
54 Posts
Re: Session Redirect To Other Page When Try to Copy Url
Dec 14, 2012 04:27 PM|LINK
hello,
if you are working on same site, single session will work for all tab. if you want to another session on same machine then you need to open another browser.
thanks,
Software Developer
LnT Infotech
usman400
Contributor
3503 Points
721 Posts
Re: Session Redirect To Other Page When Try to Copy Url
Dec 14, 2012 04:29 PM|LINK
I dont know the solution, but I think all browsers will not allow u to do that
as when opening the same web site in a new tab (assuming that it is already opened in the first tab)
the session will remain same, just test it with Hotmail, Yahoo, or any other famous web site, open a browser, browse a site
Login to that site, and then copy paste the URL in new tab
afastars
Member
52 Points
221 Posts
Re: Session Redirect To Other Page When Try to Copy Url
Dec 15, 2012 05:37 AM|LINK
hi Anil Pathak and usman400
your information very usefull for me....i try on banking system it's work..after i log in, then i copy the url and open other tab it will redirect to log out page it does not allow to do that thing....if you found any related link or code please share it with me...i really appreciate your help my expertise...
usman400
Contributor
3503 Points
721 Posts
Re: Session Redirect To Other Page When Try to Copy Url
Dec 15, 2012 06:07 AM|LINK
here is some web.config modifications you can test:
http://stackoverflow.com/questions/955194/session-for-a-tab-in-asp-net
afastars
Member
52 Points
221 Posts
Re: Session Redirect To Other Page When Try to Copy Url
Dec 15, 2012 06:20 AM|LINK
hi usman400
thanks for reply, already try it, but still no luck so far...
afastars
Member
52 Points
221 Posts
Re: Session Redirect To Other Page When Try to Copy Url
Dec 17, 2012 11:22 PM|LINK
hi all expertise i got the solution
i share to you the link, thanks a lot's to all of you again
http://www.codeproject.com/Articles/35859/Detect-and-prevent-multiple-windows-or-tab-usage-i