3
Answers

server error after hosting

my wesite working perfictly on localhost when i uploaded it on server i get this error
 
Server Error in '/' Application.
 
Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
 
Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
 
<!-- Web.Config Configuration File --> <configuration> <system.web> <customErrors mode="Off"/> </system.web> </configuration>
 
Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.
 
<!-- Web.Config Configuration File --> <configuration> <system.web> <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/> </system.web> </configuration>
 
and its redirect to index page in webconfig i stooped custom error
Answers (3)
0
Nilesh Shah

Nilesh Shah

NA 22.3k 214.8k 7y

If not using server on session, then you can use cookies on client side

but I fail to understand why you don't want to use session? it helps in managing user requests in betterway. what you want to achieve by not using session? 

Accepted
2
Nilesh Shah

Nilesh Shah

NA 22.3k 214.8k 7y

if you have memory issues, then instead of storing session in-proc (in memory),you can store the session in database server. this way ur memory will not be occupied by session

if at all you dont want to use session, then you can maintain user data using cookies or using query string

1
Nilesh Shah

Nilesh Shah

NA 22.3k 214.8k 7y

1000 concerent users is nothing, even the sites with millions of concerent users implement sessions

it depends on what resources you have

are you going to host by your own? or on cloud?
 
it will be better if you provide all the info. together while posting question, instead of writing bits and pieces in different replies 
-1
Pradeep Yadav

Pradeep Yadav

NA 1.8k 150.6k 7y
You think it as 1000 concerent users.
 Then.......?
-1
Pradeep Yadav

Pradeep Yadav

NA 1.8k 150.6k 7y
Huge user , memory issue
 
However cookies are not safe.