|
In server Explorer Window Right Click and Select >> Publish
Then Upload the Folder You have specified while publishing
Best Regards,
Chetan Patel
|
|
|
|
|
thq chetan for ur reply.....
i am haveing a MS Access Data base for my project how can upload my database into my website
please help me.....
|
|
|
|
|
One post is sufficient PLease don't repost
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
How to prevent user enter the page directly after it's already log out?
In my Log Out page,I clear all Session but it didn't work.
For Log out page...
<br />
Session["Username"] = null;<br />
Session["Password"] = null;<br />
Session["Authentication"] = null;<br />
Session.Abandon();<br />
Response.Redirect("LogIn.aspx");<br />
After log out,it will redirect to LogIn.aspx,but it still can enter the main page directly such as "http://localhost/myweb/default.aspx"(Althrough it will check Session["Authentication"]==null before).
I want the page redirect automatically to LogIn.aspx but i still can browse default.aspx althrough i have loged it out already.
How to solve this problem?
Thank =)
-- modified at 1:16 Tuesday 16th October, 2007
|
|
|
|
|
There are many ways to do it how are you checking it try to debug your application and check what value that session variable have ?
also if session is null redirect user to login page check it in every page
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Yes,I've already done it.I've check authentication Session variable in every Page_Load.
... Page_load(...)
{
if(Session["Authen"]==0)
Response.Redirect("LogIn.aspx");
}
But when is enter the main page directly as i told u before, it didn't enter even Page_Load -*-?
|
|
|
|
|
Do you implimented Form Authentication in your application ?
bug_aonz wrote: But when is enter the main page directly as i told u before, it didn't enter even Page_Load
How he is entering in that page means by typing that url ?
or clicking back button how ?
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
playing with bugs ) wrote: Do you implimented Form Authentication in your application ?
No,I don't use that.I use Session to store Authentication status.
playing with bugs ) wrote: How he is entering in that page means by typing that url ?
or clicking back button how ?
Both
|
|
|
|
|
you should use form authentication in your application
Again i m saying do one thing build your aplpication then agian degub it
in your method where you are checking your session try to debug in each case
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Hi...
validate your session variable like below...u need to check for "null" not for "0"
if(Session["Authen"]==null)<br />
Response.Redirect("LogIn.aspx");
Regards,
Sandeep Kumar.V
|
|
|
|
|
OOps that very well observed
i think thats compiler error that could not be the problem
-- modified at 2:13 Tuesday 16th October, 2007
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
OK.I've already done all Session variable checking for authentication to all of every .aspx pages(I don't use <authentication> of Web.config).
The point is that it works fine until i clicked log out link and cleared all Session i used and redirect to LogIn.aspx and then i type the url directly "http://localhost/default.aspx" to browser .The result is I still can acces this page althrough i've logged it out.
Next i try to check why Page_Load of default.aspx don't check authentication
So i beaked this line in Page_load
... Page_Load(....)
{
if(Session["Authen"]=="0"||Session["Authen"]==null)
Response.Redirect("LogIn.aspx");
else
}
Then I test it, I log in then log out.Now the current page was redirect to LogIn.aspx.After that i type url of default.aspx to browser.I can access default.aspx as i still log in.It's not even enter the Page_Load function that i've breaked.Why? Is it about Session cache?
|
|
|
|
|
i have following thing in my web project
1. A web user control which contains a drop downlist.
2. A web-form that contains a drop-downlist and the web contol above mentioned.
3. Two tables - One is master and other is child.
I am populating the master table data in the dropdownlist which is lying in the web-user control.
Now my question is , How can i populate the dropdownlist , which is lying in the web-form from the dropdownlist , which is lying the web-user control , on the selected index changed function of the drop-downlist lying in the web-user control.
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|
|
Can you Plz be more elaborative.
you need to do all these thing on server-side or on client-side.
|
|
|
|
|
Hello Everyone
I have a text file which has some data in Russian language.But when I store this russian text into DataBase through my code logic in C# Asp.net that is showing ??? ??? ?? ?. so anybody helps me how can this is store as russian text into DB?
Thanks in advance
Deepak
Smile a Lots,Its Costs Nothing
|
|
|
|
|
what datatype you are using in DB.
Use Datatype as 'Nvarchar'
And while sending that data through any procedure, there also use datatype as Nvarchar.
Nvarchar datatype has length -- 4000.
Hope it will help you.
|
|
|
|
|
Use the Datatype as NVarChar for stroing it in the Databases.
SSK.
Anyone who says sunshine brings happiness has never danced in the rain.
|
|
|
|
|
Hi,
I have a datagrid and i Iterate through the columns in datagrid one by one , i need to store the column values in Datacolumn. How can i achieve it, Please help me with DataColumn syntax.
|
|
|
|
|
|
Thanks, article was very useful.
|
|
|
|
|
hi all,
how can we restrict the user to type text in file upload control if i am using javascript and trying to display the alert message but single character is remains but other control events are not working (ex:buttons).
pls help me .
Thanks And Regards,
Guru
|
|
|
|
|
try this hope this will work
|
|
|
|
|
thanks ,but pls confirm i think it does not allow the user to type the text.
|
|
|
|
|
Hi,
I am using the datagrid and in one datagrid column I have used another datagrid. So how can I find that datagrid and bind data to that.
can any one give me solution for this??????
Thanks to all
|
|
|
|
|
you can just search for how to crete relations in asp.net
|
|
|
|